Linux command
impacket-smbclient 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
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]
说明
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.
参数
- -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).
FAQ
What is the impacket-smbclient command used for?
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.
How do I run a basic impacket-smbclient example?
Run `impacket-smbclient [domain]/[user]:[password]@[target]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -hashes _lm:nt_ do in impacket-smbclient?
Use NTLM hashes.