s0ld13rr/pentestcode/post-exploit
Claude Code and agent skill by s0ld13rr/pentestcode
- community
Checking that the SKILL.md file is still in the repository.
Post-exploitation gotchas — credential dump order, DPAPI trap, host exhaustion checklist. Use when the current phase is POST_EXPLOIT.
Install
npx vskill@latest install s0ld13rr/pentestcode/post-exploitSKILL.md
The same SKILL.md was published earlier as lza6/armor-piercing-system-prompts/post-exploit.
Post-Exploitation — What You'll Get Wrong
Credential dump ORDER matters (Windows)
Run ALL three, in this order — each extracts different secrets:
--sam— local account hashes--lsa— service passwords, cached domain creds, DPAPI system keys--dpapi— browser passwords, vault, cookies, Credential Manager
On Domain Controllers add --ntds for all domain hashes. Fallback: secretsdump.py DOMAIN/USER:PASS@HOST (SAM+LSA+NTDS in one shot).
DPAPI trap
netexec smb HOST -u USER -p PASS --dpapi with NO subcommands = full dump. Adding subcommands (cookies, nosystem, wifi) LIMITS output. Always bare --dpapi first.
Host Exhaustion — do NOT skip any host
Before a host is "done", ALL of these must be attempted:
- Privesc check (sudo -l / whoami /priv / SUID / kernel version)
- Credentials dumped (SAM+LSA+DPAPI on Windows, shadow/keys/history/configs on Linux)
- Found creds sprayed across ALL known hosts+services
- Network config enumerated (arp, routes, internal DNS) — may reveal hidden subnets
- Internal services discovered (ss -tlnp / netstat) — ports not visible externally
- Stored creds checked (autologon, cmdkey, env vars, browser profiles)
Linux credential locations you'll miss
/home/*/.bash_history— often contains passwords in commands- App configs:
.env,*.conf,*.cfg,*.ini— DB passwords, API keys - SSH keys:
~/.ssh/(private keys ANDauthorized_keysfor persistence) - Browser profiles:
~/.mozilla/firefox/*/logins.json,~/.config/google-chrome/*/Login Data
SSH agent forwarding hijack
If another user has agent forwarding enabled: find /tmp -name "agent.*" → SSH_AUTH_SOCK=/tmp/agent.XXXX ssh target
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/phases/post-exploit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/s0ld13rr/pentestcode/post-exploit)