Skip to content

Command Reference

The full hacking command set, grouped by phase. For how these fit together, see The Hacking Pipeline; for the everyday shell commands (ls, cat, ssh, …) see The Terminal.

Command What it does
nmap <ip> Port scan and service detection
nmap -sS <ip> SYN stealth scan (avoids IDS)
nmap -sN <ip> NULL scan (near-invisible, no versions)
searchsploit <service> Query the exploit database for CVEs
snmpwalk <ip> SNMP enumeration on network devices
telnet <ip> Banner-grab a Cisco device’s telnet service (no access)
wifi_crack <bssid> Crack WPA2 networks, via an access point
Command What it does
metasploit Launch CVE exploits for access
hydra <ip> -u <user> Brute-force SSH/FTP/Telnet credentials (GPU)
hydra --url http://<ip> Brute-force a web admin panel (user-level, without root)
sqlmap -u <ip> --dbs SQL injection on WEB/DB servers (MySQL/PostgreSQL)
sqlmap -u <ip> --identify-waf Fingerprint a WAF for tamper bypass
john <hash_file> Crack hashes from /etc/shadow (Linux) or SAM (Windows)
creds Review captured logins by host; flags password reuse
Command What it does
linpeas Scan for privesc vectors (Linux)
winpeas Scan for privesc vectors (Windows)
sudo <command> Escalate to root (Linux, needs linpeas)
runas /user:Admin cmd Escalate to Administrator (Windows, needs winpeas)
kexploit <ip> Linux kernel exploits (DirtyCow, DirtyPipe, CopyFail, …)
winkexploit <ip> Windows kernel exploits (EternalBlue, Zerologon, …)
sqlmap -u <ip> --os-shell OS shell via SQL injection (requires stacked / --technique S)
Command What it does
ssh <user>@<ip> SSH login with cracked credentials
netdiscover ARP scan to discover LAN devices
tunnel <ip> SSH tunneling / bounce chain
mitm <ip> ARP spoof for credential interception
ifconfig Show network interfaces
Command What it does
cctv_view <ip> View CCTV camera feeds
cctv_disable <path> Disable a camera feed (surveillance disruption)
cctv_loop <path> Loop a camera feed (freeze footage)
printjack <ip> Dump a printer spool, extract credentials
overload <ip> PLC register manipulation / sabotage
deauth <ip> Wireless deauth on a gateway/switch
strobe <ip> IoT manipulation, creates trace diversions
Command What it does
inject <file> Modify a remote file (record tampering, data poisoning)
upload <local> <remote> Upload a local file to the target server
download <file> Download a file from the target
delete <file> Delete a file on the remote server
kill <pid> Kill a process by its PID (crash-server objectives)