Skip to content

live smb client command

skelsec edited this page Apr 14, 2021 · 2 revisions

What it does

Spawns an interactive SMB client using the current user's context.

Remarks

You may choose to supply additional commands after the hostname. These commands will be performed sequentially against the target.

Requirements

None

Subcommands

None

Switches

  • --authemethod: You may choose between ntlm or kerberos authentication. Kerberos authentication will not work when IP address is supplied as target. Default: ntlm
  • --protocol-version : You may choose to setup your connection using SMB2 or SMB3. SMB3 will be slow if there are not crypto libraries installed. Default: 2
  • -v: Verbosity

Examples

  • pypykatz live smb client 10.10.10.2: Spawns an interactive SMB client to host 10.10.10.2
  • pypykatz smb client 10.10.10.2 shares "use c$" ls: Logs on to the target server at 10.10.10.2 and lists the shares, then opens C$ and lists folder and files.
Clone this wiki locally