Ran into this issue today where nothing was resolving. While troubleshooting I added the target_name to the --debug output to help. Figured someone else may find it useful as well. Pull request incoming. Trash it if you don't think it's useful. :)
python3 FindUncommonShares.py -u administrator -p 'REDACTED' --dc-ip 192.168.1.20 --debug
FindUncommonShares v3.0 - by @podalirius_
[>] Extracting all computers ...
[+] Found 7 computers in the domain.
[>] Enumerating shares ...
[!] Could not resolve user.lab.local
[>] Skipping common share 'ADMIN$' on 'ws01.lab.local' (comment: 'Remote Admin')
[>] Skipping common share 'C$' on 'ws01.lab.local' (comment: 'Default share')
[>] Skipping common share 'IPC$' on 'ws01.lab.local' (comment: 'Remote IPC')
[>] Found 'Temp' on 'ws01.lab.local'
[>] Skipping common share 'ADMIN$' on 'dc01.lab.local' (comment: 'Remote Admin')
[>] Skipping common share 'C$' on 'dc01.lab.local' (comment: 'Default share')
[>] Skipping common share 'IPC$' on 'dc01.lab.local' (comment: 'Remote IPC')
[>] Skipping common share 'NETLOGON' on 'dc01.lab.local' (comment: 'Logon server share ')
[>] Skipping common share 'SYSVOL' on 'dc01.lab.local' (comment: 'Logon server share ')
[+] Bye Bye!
Ran into this issue today where nothing was resolving. While troubleshooting I added the
target_name
to the--debug
output to help. Figured someone else may find it useful as well. Pull request incoming. Trash it if you don't think it's useful. :)