smbmap
smbmap -H <target-ip> -u <user> -p '<pass>' -d <domain>
Enumerate SMB shares and verify read/write permissions on each one.
After obtaining credentials or a null session, to identify accessible shares and their permissions. smbmap shows which shares have read/write access, which is key for stealing files or dropping tools.
If you already know the shares or only need the list without permissions, smbclient is simpler.