nxc-smb
Pentest and exploit SMB servers. tldr-pages
On several platforms
Several platforms
Search for valid domain credentials by trying out every combination in the specified lists of usernames and passwords
nxc smb 192.168.178.2 --username path/to/usernames.txt --password path/to/passwords.txtIdentifySearch for valid credentials for local accounts instead of domain accounts
nxc smb 192.168.178.2 --username path/to/usernames.txt --password path/to/passwords.txt --local-authIdentifyEnumerate SMB shares and the specified users' access rights to them on the target hosts
nxc smb 192.168.178.0/24 --username username --password password --sharesIdentifyEnumerate network interfaces on the target hosts, performing authentication via pass-the-hash
nxc smb 192.168.178.30-45 --username username --hash NTLM_hash --interfacesIdentifyScan the target hosts for common vulnerabilities
nxc smb path/to/target_list.txt --username '' --password '' --module zerologon --module petitpotamIdentifyAttempt to execute a command on the target hosts
nxc smb 192.168.178.2 --username username --password password -x commandIdentify