NetExec SMB Shares

Enumerate SMB shares

Tool
nxc
Category
Enumeration / SMB
Platform
linux
Requires
password
Protocols
SMB

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

nxc smb ips.txt -u '<user>' -p '<password>' --shares

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

nxc smb ips.txt -u '<user>' -H '<hash>' --shares

Kerberos Ticket requires Kerberos ticket

nxc smb ips.txt --use-kcache --shares

Null Session requires no credentials

nxc smb ips.txt -u '' -p '' --shares

Examples

nxc smb 10.10.11.2 -u 'reddington' -p 'LizKeen' --shares

Tags

nxc smb shares enumeration