origin-ip-discovery
Agent skill fromuphiago/recon-skills
Discover origin IPs behind CDN/WAF via favicon hash, DNS history, and SSL certs.
How to install origin-ip-discovery
install origin-ip-discovery
# 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/origin-ip-discovery/
# into
~/.claude/skills/origin-ip-discovery/ (all projects)
.claude/skills/origin-ip-discovery/ (one project)
1# Origin IP Discovery23Discover the real server IP behind CDN/WAF protections (Cloudflare, Akamai, Fastly). When the origin IP is found, the raw server is exposed without firewall rules, rate limiting, or application-layer filtering. Techniques include favicon hash fingerprinting across Shodan, historical DNS records from passive sources, SSL certificate SAN field matching, and Google Analytics ID cross-referencing.45## When to Use67- Target is behind Cloudflare/Akamai and returns 403 or CAPTCHA challenges on all requests.8- You need direct access to the origin to bypass WAF rules.9- Subdomain enumeration reveals internal/staging hosts on non-CDN IPs.10- The target uses a single favicon across all infrastructure.11- SSL certificates share the same organization name across IPs.1213## Prerequisites1415- `terminal` with curl, python3, and shodan CLI.16- Shodan API key: `shodan init <KEY>`.17- Target favicon file or URL.1819## How to Run2021```bash22# Check Cloudflare presence23curl --max-time 30 --connect-timeout 10 -sI "https://target.com" | grep -i "cf-ray\|server: cloudflare"2425# If Cloudflare detected, check for common origin leaks26curl --max-time 30 --connect-timeout 10 -sk "https://target.com/cdn-cgi/trace" | grep -E "ip=|colo="27```2829## Quick Detection3031```bash32# Check Cloudflare presence33curl --max-time 30 --connect-timeout 10 -sI "https://target.com" | grep -i "cf-ray\|server: cloudflare"3435# If Cloudflare detected, check for common origin leaks36…
Excerpt shown under the repository's MIT license.
