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, without credentials (null session).
Command Reference:
Domain: test.local
SMB Hosts: smb-hosts.txt
python3 smbmap.py --host-file smb-hosts.txt -d test.local -L