impacket-smbclient
generic SMB client for listing shares and files, uploading
TLDR
Connect to SMB server
$ impacket-smbclient [domain]/[user]:[password]@[target]
Connect with NTLM hash$ impacket-smbclient -hashes :[hash] [domain]/[user]@[target]
Use Kerberos authentication$ impacket-smbclient -k [domain]/[user]@[target]
SYNOPSIS
impacket-smbclient [options] target
DESCRIPTION
impacket-smbclient is a generic SMB client for listing shares and files, uploading, downloading, renaming, and managing directories on Windows systems. Part of the Impacket toolkit. Supports password, NTLM hash, and Kerberos authentication.
PARAMETERS
-hashes lm:nt
Use NTLM hashes.-k
Use Kerberos authentication.-dc-ip ip
Domain controller IP.-target-ip ip
Target IP (if different from hostname).
SEE ALSO
smbclient(1), impacket-psexec(1)
