tools/NetExec
NetExec
Network execution and enumeration
The maintained successor to CrackMapExec. One tool across SMB, LDAP, WinRM, MSSQL, SSH and more: validate credentials, enumerate the domain, find hosts without signing, roast accounts and execute — all from one syntax.
# validate a credential and show access level across a subnet nxc smb $IP/24 -u $USER -p $PASS # find every SMB host that doesn't require signing nxc smb $IP/24 --gen-relay-list targets.txt # kerberoast over LDAP nxc ldap $IP -u $USER -p $PASS --kerberoasting roasted.txt
NetExec is usually the first thing you reach for on an internal network: it confirms what a credential can do, maps signing across the subnet, and does the roasting and enumeration that feed every other technique here.
SourceGitHub · Pennyw0rth
LanguagePython
ProtocolsSMB, LDAP, WinRM, MSSQL, SSH
ReplacesCrackMapExec
last reviewed 2026-11-02
edit this page on GitHub →
edit this page on GitHub →