smbclient

Debug

$ smbclient -d <value>

View list of shares

Example

Connect to admin (ADMIN$) share on the host with IP address 10.10.x.x

Note: we can supply the password with the username using the --user command: --user=jarrett%password . However, this may not be the ideal method for security reasons, since the password will be provided in plaintext.

Executing commands

  • Additional flags: -W to set the SMB domain of the username

Last updated