nxc
netExec, a network service exploitation tool
TLDR
SMB authentication check
$ nxc smb [target] -u [user] -p [password]
Enumerate shares$ nxc smb [target] -u [user] -p [password] --shares
Execute command$ nxc smb [target] -u [user] -p [password] -x "[command]"
Scan multiple hosts$ nxc smb [targets.txt] -u [user] -p [password]
Use hash for auth$ nxc smb [target] -u [user] -H [hash]
SYNOPSIS
nxc [protocol] [target] [options]
DESCRIPTION
nxc is NetExec, a network service exploitation tool. Successor to CrackMapExec.
The tool tests credentials across networks. Used for penetration testing.
PARAMETERS
PROTOCOL
Protocol module (smb, ssh, ldap, etc.).TARGET
Target host or file.-u USER
Username.-p PASSWORD
Password.-H HASH
NT hash for pass-the-hash.--shares
Enumerate shares.-x COMMAND
Execute command.--help
Display help information.
CAVEATS
Security tool. Authorized use only. Successor to CrackMapExec.
HISTORY
NetExec was created as the successor to CrackMapExec for network penetration testing.
SEE ALSO
nmap(1), impacket(1), metasploit(1)
