LinuxCommandLibrary

impacket-smbclient

generic SMB client for listing shares and files, uploading

TLDR

Connect to SMB server

$ impacket-smbclient [domain]/[user]:[password]@[target]
copy
Connect with NTLM hash
$ impacket-smbclient -hashes :[hash] [domain]/[user]@[target]
copy
Use Kerberos authentication
$ impacket-smbclient -k [domain]/[user]@[target]
copy

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community