-
Notifications
You must be signed in to change notification settings - Fork 411
smb client command
skelsec edited this page Apr 16, 2021
·
2 revisions
Spawns an interactive SMB client.
The client can be non-interactive if command(s) are supplied after the connection URL. It also supports dropping back to interactive mode if the special command i is supplied.
A working SMB connection URL
None
-
url: SMB connection URL. Please consult theConnection URLsection -
commands: Optional parameter. If populated with commands then those commands will automatically execute after successful logon. -
-v: Verbosity
-
pypykatz smb client 'smb2+ntlm-password://TEST\victim:[email protected]': Spawns an interactive SMB client -
pypykatz smb client 'smb2+ntlm-password://TEST\victim:[email protected]' shares "use c$" ls: Logs on to the target server at10.10.10.2and lists the shares, then opensC$and lists folder and files.