SMBClient List Share PTH

UsernameHashLinuxEnumeration

Smbclient is a tool used to communicate with SMB servers. The following command will list out all available shares on the target ip using user John hash on test domain.

Command Reference:

Target IP: 10.10.10.1

Domain: test.local

Username: john

Hash: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Command

smbclient -L \\10.10.10.1 -U test.local/john --pw-nt-hash XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

References