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 accessible SMB shares, both local and mapped drives, using valid credentials.
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 -L