/claude-pentest-skills:web-reconfrom claude-pentest-skills
Runs full offensive reconnaissance for web pentests and bug bounties: subdomain enumeration, DNS resolution, live detection, screenshots, URL/parameter discovery, JS analysis, content discovery, nuclei scan, and CMS scan. Saves output to a target-named subdirectory.
Ships in claude-pentest-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The skill is divided into 3 bash scripts with checkpoint/resume and real parallelism:
scripts/
├── common.sh # Shared functions (logging, has_tool, phase_done, etc.)
├── recon_passive.sh # PHASES 1 + 2 + 2.2 (subs, DNS, live, CMS)
├── recon_active.sh # PHASES 3 + 4 + 5 (URLs, JS, content discovery)
└── recon_vuln.sh # PHASES 6 + 7 + 8 (nuclei, open redirect, S3)
Each script:
<domain> <output_dir> as args.phase_X.done) — can be re-run without repeating completed phases---RECON_SUMMARY_JSON--- markers for Claude to parsesubfinder > assetfinder > findomain (passive enumeration)
dnsx (DNS resolution)
httpx (Go version) (live detection — NEVER Python httpx)
nuclei (vulnerability scan)
katana > hakrawler > waybackurls (crawling / URL discovery)
feroxbuster > ffuf (content discovery)
wafw00f (WAF detection)
paramspider > arjun (parameter discovery)
js_secret_scanner.py → PHASE 4 (JS secret scanning)
wpscan_lite.py → PHASE 2.2 (fallback if wpscan not installed)
joomscan.py → PHASE 2.2 (Joomla scan)
command -v <tool> || echo "WARNING: <tool> not found"
Never assume a tool is installed. Never install without explicit permission.
--bruteforce flag or passive count < 20 subsensure_httpx_go() in common.shDOMAIN="target.com"
PROJECT=$(echo "$DOMAIN" \
| sed -E 's/\.(com\.br|org\.br|net\.br|gov\.br|com|org|net|io|br|co\.uk|co|uk|fr|de|jp|au|us|ca)$//' \
| sed 's/\./-/g' \
| tr '[:upper:]' '[:lower:]')
OUT="$(pwd)/$PROJECT"
SCRIPTS="$HOME/.claude/skills/web-recon/scripts"
mkdir -p "$OUT"/{subs,dns,urls,js,content,vulns,screenshots}
Create progress tasks with TaskCreate:
"PHASE 1 — Subdomain Enumeration"
"PHASE 2 — DNS + Live Detection + CMS"
"PHASE 3 — URLs and Parameters"
"PHASE 4 — JavaScript Analysis"
"PHASE 5 — Content Discovery"
"PHASE 6 — Nuclei Scan"
"PHASE 7 — Open Redirect"
"PHASE 8 — S3 / Cloud Assets"
"PHASE 9 — Report"
Mark each task in_progress when starting, completed when done.
bash "$SCRIPTS/recon_passive.sh" "$DOMAIN" "$OUT"
# Add --bruteforce if user explicitly requested it
What it runs:
Read the JSON summary from stdout and update tasks with counts.
bash "$SCRIPTS/recon_active.sh" "$DOMAIN" "$OUT"
What it runs:
Read the JSON summary and update tasks. If secrets or .git found, flag as critical finding.
bash "$SCRIPTS/recon_vuln.sh" "$DOMAIN" "$OUT"
What it runs:
Read the JSON summary and update tasks with findings by severity.
Consolidate all JSON summaries and output files into a report:
## RECON REPORT — [DOMAIN] — [DATE]
## Project: $PROJECT | Output: $OUT
### Attack Surface
- Unique subdomains: X
- Live HTTP hosts: X
- URLs with parameters: X
- CMS detected: [list]
### Critical Findings (exploitation priority)
1. [CRITICAL] JS Secrets: [file, type]
2. [CRITICAL] .git exposed: [hosts]
3. [HIGH] Nuclei findings: [summary by severity]
4. [HIGH] Sensitive files: [list]
5. [HIGH] CMS vulnerabilities: [wpscan/droopescan/joomscan findings]
6. [MEDIUM] XSS/SQLi URLs: [count by type]
### Next Vectors (ordered by impact)
1. Secrets → validate and attempt API/service access
2. .git exposed → goop to recover source code
3. SQLi params → sqlmap -m sqli.txt --batch --random-agent
4. XSS params → dalfox pipe / airixss pipeline
5. Open redirect → chain with SSRF or phishing
6. .env files → credentials for direct access
7. Outdated CMS → exploit detected CVEs
### Infrastructure
- Unique IPs: [list]
- Technologies detected: [httpx tech-detect]
- Potential CVEs (sdlookup): [list]
If Notion MCP is available, publish the report with mcp__Notion__notion-create-pages.
Capture screenshots and save outputs to $OUT/evidence/ throughout recon. Submit evidence to Notion when MCP is available.
mkdir -p "$OUT/evidence"
# Terminal screenshot (macOS)
screencapture -x "$OUT/evidence/recon_$(date +%Y%m%d_%H%M%S)_$DESCRIPTION.png"
# Terminal screenshot (Linux)
scrot "$OUT/evidence/recon_$(date +%Y%m%d_%H%M%S)_$DESCRIPTION.png"
# gowitness automatically screenshots all live subdomains
# Output goes to $OUT/screenshots/ via PHASE 2 of the script
What to capture per phase:
subs/all_subs.txt — word count visible)Submit to Notion:
mcp__Notion__notion-create-pages — create recon page with evidence attached
mcp__Notion__notion-update-page — add image/text blocks per phase
mcp__burp__*)When connected: replay/manipulate suspicious requests, confirm SQLi/XSS/LFI, capture evidence.
mcp__claude-in-chrome__*)For JS-heavy/SPA apps: navigate, inspect DOM/cookies/localStorage, capture network requests, read console logs.
Always call
tabs_context_mcpbefore any browser automation.
mcp__postman__*)Only if target exposes a REST/GraphQL API: import endpoints, IDOR/auth tests, document requests.
mcp__Notion__*)Publish final report and create subpages for each critical/high finding.
| Mode | When to use | What runs |
|---|---|---|
--quick | Wide-scope bug bounty | Passive (no bruteforce) + nuclei |
--full | Authorized pentest | All 3 blocks + report |
--js-only | Specific target, frontend analysis | PHASE 4 of recon_active.sh only |
--passive | OSINT without touching target | PHASE 1.1 + historical URLs only |
.phase_X.done)httpx -l ips.txt -H "Host: target.com" -status-code -path /cat $OUT/dns/urls.txt | httpx -silent -proxy http://127.0.0.1:8080scripts/common.sh (opens in a new tab)scripts/joomscan.py (opens in a new tab)scripts/js_secret_scanner.py (opens in a new tab)scripts/recon_active.sh (opens in a new tab)scripts/recon_passive.sh (opens in a new tab)scripts/recon_vuln.sh (opens in a new tab)scripts/wpscan_lite.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
recon, subdomain-enumeration, bug-bounty, osint, web-pentest, nuclei, cms-scan
Generated from the plugin's indexed repository (douglasrao/claude-pentest-skills) — no native marketplace selected
npx claudepluginhub p/douglasrao-claude-pentest-skills-28 skills in this plugin
/ad-exploitationActive Directory exploitation skill — credential attacks, lateral movement, privilege escalation, and domain domination. Activate when the user wants to exploit an AD environment after enumeration, or mentions: Kerberoasting, AS-REP Roasting, pass-the-hash, pass-the-ticket, lateral movement, DCSync, Golden Ticket, BloodHound attack paths, evil-winrm, PSExec, or any variation of "attack the domain", "escalate in AD", "get domain admin". Picks up from ad-recon output when available.
/ad-postexploitationActive Directory post-exploitation skill — covers everything after gaining initial access to a Windows domain environment. Activate when the user has valid domain credentials, a shell on a domain-joined machine, or escalated privileges and wants to: move laterally across the network, escalate to Domain Admin, harvest credentials from memory or disk, establish domain persistence, dump LSASS, abuse privilege tokens, or pivot through the domain. Also activate for: pass-the-hash, pass-the-ticket, Mimikatz, LSASS dump, token impersonation, SAM dump, scheduled task persistence, Skeleton Key, Diamond Ticket, AdminSDHolder, or any post-compromise AD activity.
/ad-reconActive Directory reconnaissance skill — host discovery and comprehensive AD enumeration. Activate when the user wants to map an AD environment, enumerate users, groups, shares, trusts, SPNs, or BloodHound data before attacking. Also activate for phrases like "map the domain", "enumerate AD", "find AD users", "collect BloodHound data", or any variation of "start an AD pentest" on a domain target. Outputs feed directly into the ad-exploitation skill.
Other plugins' skills for the same job