I Built a 23-Module Automated Recon Framework for Bug Bounty Hunting (Open Source)
SaiRecon: I Built a 23-Module Automated Recon Framework for Bug Bounty Hunting (Open Source) If you do bug bounty hunting or penetration testing, you know the pain. Before you even touch a vulnerability, you spend hour
SaiRecon: I Built a 23-Module Automated Recon Framework for Bug Bounty Hunting (Open Source)
If you do bug bounty hunting or penetration testing, you know the pain.
Before you even touch a vulnerability, you spend hours β sometimes days β running the same tools in the same order. Subfinder for subdomains. httpx to find what's alive. naabu for ports. Katana for URLs. WhatWeb for tech stack. Then you stitch all the outputs together manually in a text file, hoping you didn't miss anything.
I got tired of it. So I built SaiRecon.
What is SaiRecon?
SaiRecon is an open-source, Python-based automated reconnaissance framework. One command runs up to 23 integrated recon modules in the right order, feeds outputs between them intelligently, and produces a single clean report in JSON, HTML, and Markdown.
pip install git+https://github.com/saivishwaa/sairecon.git
sairecon scan example.com
That's it. One command. 23 modules. Centralised report.
The 23 Modules
SaiRecon runs in three phases, each building on the previous:
Phase 1 β Domain level
- WHOIS record lookup
- Full DNS enumeration + AXFR zone transfer exposure checks
- Multi-source subdomain enumeration: Subfinder, Assetfinder, Findomain, GitHub Subdomains, crt.sh β resolved via dnsx
- ASN & CIDR mapping with cloud provider detection
- Passive internet-wide exposure via Shodan, Censys, and FOFA (Uncover)
- Email security: SPF, DMARC, DKIM, and MTA-STS checks
Phase 2 β Host level
- HTTP/S live probing β status codes, titles, tech, redirects (httpx)
- Subdomain takeover detection via dangling CNAME fingerprinting
- Port scanning β top-100 via naabu + Nmap service/version fingerprinting
- TLS certificate inspection β expiry, SANs, issuer, self-signed detection
- WAF/CDN fingerprinting via Wafw00f
- Security headers audit: CSP, HSTS, X-Frame-Options and more
Phase 3 β HTTP & vulnerability level
- Technology stack detection β WhatWeb + HTTP signatures + Shodan-compatible favicon hashing
- WebSocket discovery, RFC 6455 handshake verification, and CSWSH posture assessment
- URL discovery: Katana, GAU, Waybackurls with GF categorisation
- Content discovery via FFUF and a bundled wordlist
- Hidden parameter discovery via Arjun
- JavaScript file scanning for AWS keys, bearer tokens, Google API keys, Slack tokens, private key headers, and endpoints
- Historical robots.txt and sitemap.xml analysis via Wayback Machine
- Sensitive file probing β .env, .git, backups, config files
- Full-page screenshot capture via Gowitness
- Domain breach exposure lookup via XposedOrNot API
- CVE/CVSS correlation β tech banners matched against offline knowledge base + live NVD API v2.0
How the Pipeline Actually Works
The key design decision isn't the list of tools β it's how they chain together.
Domain scan
β subdomains discovered + DNS-resolved
β live hosts confirmed via HTTP probing
β all HTTP-level modules receive live hosts automatically
β unified JSON + HTML + Markdown report
Each module reads and writes a shared context dictionary. Subdomain enumeration writes its resolved host list. Live probing reads that list, probes each host, writes back the confirmed live ones. Every subsequent module works against exactly the right target set. One module crashing never stops the pipeline.
Python-Native Fallbacks
No Go tools installed? No problem:
| Module | Go tool | Python fallback |
|---|---|---|
| whois_recon | whois binary | python-whois β |
| dns_recon | dig | dnspython β |
| live_recon | httpx | requests β |
| ssl_cert | tlsx | ssl stdlib β |
| waf_detect | wafw00f | header heuristics β |
| email_security | β | dnspython β |
| js_secrets | gf patterns | regex β |
| breach_check | β | requests β |
| nvd_correlate | β | offline KB + NVD API β |
Installation
# Option A: pip (recommended)
pip install git+https://github.com/saivishwaa/sairecon.git
# Option B: Full installer for Linux/Kali (installs all 18 Go tools)
git clone https://github.com/saivishwaa/sairecon.git
cd sairecon && chmod +x install_tools.sh && ./install_tools.sh
# Option C: Docker
docker build -t sairecon .
docker run --rm -v "$(pwd)/reports:/app/sairecon_output" sairecon scan example.com --yes
# Option D: Windows PowerShell
.\install_tools_windows.ps1
Usage Examples
sairecon doctor
sairecon scan example.com
sairecon scan "*.example.com"
sairecon scan example.com --modules subdomain_enum,live_recon,js_secrets
sairecon scan example.com --skip-modules screenshot,content_discovery,param_discovery
sairecon scan example.com --yes --format json
Report Output
./sairecon_output/example.com_20261101_120000/
βββ example.com.json β machine-readable, all findings + timing metadata
βββ example.com.html β interactive with severity colours
βββ example.com.md β Markdown for GitHub issues / notes
Contributing
from sairecon.core.base import BaseModule
class MyModule(BaseModule):
name = "my_check"
description = "Does something useful"
required_tools = []
def execute(self):
self.add_finding(
title="My finding",
command="mytool --target ...",
result={"status": "ok"},
severity="low",
)
return self.findings
Register in orchestrator.py β MODULE_REGISTRY and config.py β MODULE_ORDER. PRs welcome.
Links
- π GitHub: https://github.com/saivishwaa/sairecon
- β Star the repo if it's useful
- β οΈ Use only against systems you are authorised to test
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.