SMBMap is a tool used to enumerate SMB share drives, including listing share drive permissions, share contents, upload/download functionality, file name enumeration, and remote command execution. The following command will enumerate a list of SMB hosts for files and filenames containing the keyword ‘password’.
Command Reference:
Domain: test.local
SMB Hosts: smb-hosts.txt
Username: john
Password: password123
python3 smbmap.py --host-file smb-hosts.txt -u john -p 'password123' -d test.local -F password