smbmap
Enumerate samba share drives across an entire domain. tldr-pages
On several platforms
Several platforms
Enumerate hosts with NULL sessions enabled and open shares
smbmap --host-file path/to/fileIdentifyDisplay SMB shares and permissions on a Host, prompting for user's password or NTLM hash
smbmap --username username --prompt -H ip_addressIdentifyExecute a shell command on a remote system
smbmap --username username --prompt -H ip_address -x commandIdentifyEnumerate hosts and check SMB file permissions
smbmap --host-file path/to/file --username username --password password -qIdentifyConnect to an ip or hostname through smb using a username and password
smbmap --username username --password password -d domain -H ip_or_hostnameIdentifyLocate and download files Recursively up to n levels depth, searching for filename pattern (regex), and excluding certain shares
smbmap --host-file path/to/file --username username --password password -q -R --depth n --exclude sharename -A filepatternIdentifyUpload file through smb using username and password
smbmap --username username --password password -d domain -H ip_or_hostname --upload path/to/file '/share_name/remote_filename'IdentifyDisplay SMB shares and recursively list directories and files, searching for file content matching a regex
smbmap --username username --prompt -H ip_address -R -F patternIdentify