CmdID

CmdID / Commands

smbclient.py

Interact with SMB servers. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Interact with SMB servers. Part of the Impacket suite.

Connect to an SMB server with username and password

smbclient.py domain/username:password@targetIdentify

Connect using NTLM hashes for authentication

smbclient.py -hashes LM_HASH:NT_HASH domain/username@targetIdentify

Connect using Kerberos authentication

smbclient.py -k domain/username@targetIdentify

Connect specifying a domain controller IP

smbclient.py -dc-ip domain_controller_ip domain/username:password@targetIdentify

Connect to a specific target IP instead of NetBIOS name

smbclient.py -target-ip target_ip domain/username:password@targetIdentify

Connect to a non-standard SMB port

smbclient.py -port port domain/username:password@targetIdentify

Execute commands from an input file in the SMB shell

smbclient.py -inputfile path/to/input_file domain/username:password@targetIdentify

Log SMB client commands to an output file

smbclient.py -outputfile path/to/output_file domain/username:password@targetIdentify