p0dalirius / pyFindUncommonShares

FindUncommonShares is a Python script allowing to quickly find uncommon shares in vast Windows Domains, and filter by READ or WRITE accesses.
https://podalirius.net/
392 stars 47 forks source link

[bug] ValueError: max_workers must be greater than 0, when no computer object is found #15

Closed CaledoniaProject closed 1 year ago

CaledoniaProject commented 1 year ago
[>] Extracting all computers ...
[+] Found 0 computers in the domain.

[>] Enumerating shares ...
Traceback (most recent call last):
  File "./FindUncommonShares.py", line 648, in <module>
    with ThreadPoolExecutor(max_workers=min(options.threads, len(computers.keys()))) as tp:
  File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 104, in __init__
    raise ValueError("max_workers must be greater than 0")
ValueError: max_workers must be greater than 0