smbmap

Allow users to enumerate samba share drives across an entire domain. More information: https://github.com/ShawnDEvans/smbmap.

smbmap --host-file path/to/file

smbmap --host-file path/to/file -u username -p password -q

smbmap -u username -p password -d domain -H ip_or_hostname

smbmap --host-file path/to/file -u username -p password -q -R --depth number --exclude sharename -A filepattern

smbmap -u username -p password -d domain -H ip_or_hostname --upload path/to/file '/share_name/remote_filename'