Skip to content
TARGET$IP10.10.11.42$DOMAINcorp.local$USERsvc_sql$PASS••••••••••filled into every command · stored in your browser only
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.
pythonenumeratespray
usage · target filled in
# 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
Related
last reviewed 2026-11-02
edit this page on GitHub →
TOOL ⌘K jump t set target search.deflance.com static · no tracking