r/osinttools • • 10d ago

Showcase I built an async CLI/TUI tool in Python that checks bulk URLs and automatically pulls WHOIS data into SQLite whenever a host fails

Hey everyone,

When auditing large lists of domains or subdomains during passive recon, I got tired of chaining `httpx` with bash loops and `whois` just to figure out why certain hosts were timing out or throwing non-200 errors (expired domains, misconfigured DNS, parked pages, etc.).

So I built **Web-Recon** — an open-source async CLI/TUI utility in Python (`asyncio` + `aiohttp` + `aiosqlite`) that handles this in a single pipeline:

- **Async HTTP Checks + Auto-WHOIS:** Scans thousands of targets concurrently. Whenever it hits a connection drop, DNS failure, timeout, or non-200 status, it automatically spawns a thread-isolated WHOIS lookup (`asyncio.to_thread`) so Port 43 sockets never freeze the main loop or the Rich TUI.

- **Structured SQLite Output:** Saves timestamps, status codes, response latency, and cleaned WHOIS registration profiles (registrar, creation/expiration dates, name servers) into a local SQLite database.

- **3-Tier User-Agent Rotation & Rate Limiting:** Supports custom User-Agent files (`-A`), pulls fresh desktop signatures remotely, or falls back to an embedded list, paired with semaphore concurrency caps (`-c`) and stealth delays (`-d`).

- **Headless Mode (`-q`):** Strips out all TUI panels and ANSI colors so you can drop it straight into cron jobs or bash pipelines.

I'm currently working on getting the package ready for Debian/Kali standards, so any feedback on the architecture, edge cases, or features you'd find useful in your workflow is very welcome!

Link to github repo in comments.

1 Upvotes

0 comments sorted by