staging-subdomain-hunt
Agent skill fromuphiago/recon-skills
Hunt staging via crt.sh when production is WAF-hardened.
How to install staging-subdomain-hunt
install staging-subdomain-hunt
# install the recon-skills pack with the skills CLI
npx skills add uphiago/recon-skills# or add only this skill to Claude Code: copy the folder
recon/staging-subdomain-hunt/
# into
~/.claude/skills/staging-subdomain-hunt/ (all projects)
.claude/skills/staging-subdomain-hunt/ (one project)
1# Staging & Subdomain Hunt Skill23Discover staging, development, and internal subdomains through certificate transparency (crt.sh), DNS brute force, and web probing. Exploit the staging security gap — staging environments consistently have weaker security than production (no WAF, debug enabled, install pages accessible). Proven on 7 US targets where staging subdomains exposed phpinfo, WordPress install pages, and internal APIs not visible on production.45## When to Use67- Running `deep-invade` Phase 5 on a high-value target.8- Production target is well-secured (WAF, no leaks) — pivot to staging.9- Target has a large attack surface (e-commerce, SaaS, franchise model).10- You need additional entry points when the main site is hardened.11- After `subdomain-enumeration` produces a list of subdomains.1213## Prerequisites1415- `terminal` with curl, httpx, jq.16- Target domain (e.g., `example.com`).17- For DNS brute force: wordlist at `./tools/subdomains.txt`.1819## How to Run2021```bash22DOMAIN="example.com"2324# crt.sh discovery25curl --max-time 30 --connect-timeout 10 -sk "https://crt.sh/?q=%25.$DOMAIN&output=json" | jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u > subs.txt2627# Probe for live hosts28httpx -silent -l subs.txt -threads 50 -status-code -tech-detect -o alive_subs.txt2930# Check for staging indicators31grep -iE 'staging|stage|dev|test|uat|beta' alive_subs.txt32```3334## Quick Reference3536| Indicator | What It Means | Action |37|-----------|---------------|--------|38…
Excerpt shown under the repository's MIT license.
