Skip to content
Krish-Patwa01Public

About

πŸ¦… All-in-one domain OSINT & reconnaissance toolkit - WHOIS, DNS, subdomain enumeration, SSL, tech-stack profiling & more from a simple menu. No API key needed.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ReconHawk β€” Domain OSINT & Reconnaissance Toolkit



Profile any domain from a single interactive menu β€” WHOIS, DNS, subdomains, SSL, tech-stack and more. 100% free Β· No API key required.


Python Platform License No API Key


Stars Forks


Warning

Ethical use only. Run ReconHawk only on domains you own or are explicitly authorized to test. You are responsible for how you use this tool.


πŸ“– Table of Contents


✨ Features

Pick a number from the menu, or hit [11] to run everything at once. πŸ”₯

# Module What it does
1️⃣ WHOIS Lookup Registrar, IANA ID, abuse contacts, registrant details, status, DNSSEC, dates
2️⃣ DNS Records A, AAAA, CNAME, MX, NS, SOA, TXT, SRV, CAA, DS, DNSKEY + PTR (reverse)
3️⃣ Subdomain Enumeration Merges 4 sources (crt.sh, HackerTarget, CertSpotter, OTX) β€” resilient if one is down
4️⃣ SSL / TLS Certificate Issuer, validity, days-to-expiry, SANs, TLS version
5️⃣ HTTP Security Headers Audits HSTS, CSP, X-Frame-Options and more
6️⃣ IP Geolocation Country, city, ISP, ASN, reverse DNS
7️⃣ Port Scan Threaded scan of 20 common ports
8️⃣ Wayback Machine Latest snapshot + total capture count from archive.org
9️⃣ robots.txt / sitemap Disallowed paths and listed sitemaps
πŸ”Ÿ Technology Profiler Wappalyzer-style fingerprinting: CMS, JS frameworks, servers, CDN, analytics + versions

[S] save to JSON Β Β·Β  [T] change target Β Β·Β  [0] exit


🎬 Sample Output

   ____                       _   _                _
  |  _ \ ___  ___ ___  _ __  | | | | __ ___      _| | __
  | |_) / _ \/ __/ _ \| '_ \ | |_| |/ _` \ \ /\ / / |/ /
  |  _ <  __/ (_| (_) | | | ||  _  | (_| |\ V  V /|   <
  |_| \_\___|\___\___/|_| |_||_| |_|\__,_| \_/\_/ |_|\_\
  All-in-One Domain OSINT & Reconnaissance Toolkit - no API key needed

==[ Subdomain Enumeration ]=========================
  + crt.sh: 43 found
  + HackerTarget: 38 found
  + CertSpotter: 35 found
  --- 44 unique subdomains ---
  - sub: mail.example.com
  - sub: blog.example.com

==[ Technology Profiler ]===========================
  + Meta generator: WordPress 7.1
  --- Web server ---
  + Nginx
  --- Analytics ---
  + Google Tag Manager

πŸ’‘ Tip: drop a screenshot or demo GIF here β€” ![demo](docs/demo.gif) β€” to boost the repo's appeal.


πŸ” How It Works

flowchart LR
    A([Enter domain]) --> B{Interactive Menu}
    B -->|1| C[WHOIS]
    B -->|2| D[DNS Records]
    B -->|3| E[Subdomains]
    B -->|4-9| F[SSL / Headers / GeoIP / Ports / Wayback / robots]
    B -->|10| G[Tech Profiler]
    B -->|11| H[Run ALL]
    C & D & E & F & G & H --> I[(Public Sources<br/>no API key)]
    I --> J[Colored Terminal Output]
    J -->|press S| K[JSON Report]
Loading

Every module queries only public, free sources β€” certificate transparency logs, public WHOIS/DNS, archive.org, and the target's own HTTP responses. Nothing intrusive, nothing paywalled.


πŸš€ Installation

# 1. Clone
git clone https://github.com/Krish-Patwa01/ReconHawk.git
cd ReconHawk

# 2. Install dependencies
pip install -r requirements.txt

# 3. Run
python reconhawk.py

Requirements: Python 3.8+ Β· On Windows you can also just double-click reconhawk.bat.


🧭 Usage

python reconhawk.py                # asks for the target, then shows the menu
python reconhawk.py example.com    # pre-fills the target

Then just type a number and press Enter. That's it. 🎯


πŸ“¦ Module Details

1 Β· WHOIS Lookup

Pulls the full registration record: registrar + IANA ID, abuse contact email/phone, registrant name & address, domain status codes, DNSSEC state, and creation / update / expiry dates. Combines structured python-whois fields with raw-text parsing for details the library misses.

2 Β· DNS Records

Resolves 11 record types β€” A, AAAA, CNAME, MX, NS, SOA, TXT, SRV, CAA, DS, DNSKEY β€” plus a PTR reverse lookup on each resolved IP (works for both IPv4 and IPv6).

3 Β· Subdomain Enumeration

Queries 4 free sources in parallel and merges + de-duplicates the results:

  • πŸ”Ή crt.sh β€” certificate transparency logs (with automatic retries)
  • πŸ”Ή HackerTarget β€” hostsearch API
  • πŸ”Ή CertSpotter β€” certificate issuances
  • πŸ”Ή AlienVault OTX β€” passive DNS

If one source is slow, down, or rate-limited, the others still deliver results.

4 Β· SSL / TLS Certificate

Connects over TLS and reports the subject CN, issuer, negotiated TLS version, validity window, days-to-expiry (with warnings), and all Subject Alternative Names.

5 Β· HTTP Security Headers

Checks for six key security headers β€” HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy β€” and flags the missing ones. Also surfaces Server and X-Powered-By.

6-10 Β· GeoIP Β· Ports Β· Wayback Β· robots Β· Tech Profiler
  • IP Geolocation β€” country, city, ISP, ASN, reverse DNS (via free ip-api.com)
  • Port Scan β€” threaded scan of 20 common ports (FTP, SSH, HTTP, MySQL, RDP…)
  • Wayback Machine β€” latest snapshot + total historical capture count
  • robots.txt / sitemap β€” disallowed paths and discovered sitemaps
  • Technology Profiler β€” ~50 fingerprints across CMS, JS frameworks, UI libraries, web servers, backend languages, CDN/hosting, and analytics β€” with version detection where possible

πŸ’Ύ Output & Reporting

All results print to the terminal in a clean, lightly-colored layout (green βœ“, cyan info, yellow warnings, red errors β€” data stays plain for readability).

Press S anytime to save everything gathered so far to a timestamped JSON file:

reconhawk_example.com_20260718_005131.json

Perfect for reports, diffing over time, or feeding into other tools. πŸ“Š


πŸ› οΈ Tech Stack

Python Requests dnspython python--whois

Built with the Python standard library (socket, ssl, concurrent.futures) plus three light dependencies: requests, dnspython, and python-whois.


🏷️ Suggested GitHub Topics

osint Β· reconnaissance Β· recon Β· cybersecurity Β· pentesting Β· whois Β· dns
subdomain-enumeration Β· information-gathering Β· security-tools Β· wappalyzer Β· python

🀝 Contributing

Contributions, ideas, and new fingerprints are welcome! Feel free to open an issue or submit a pull request.


πŸ‘€ Author

Krishna Patwa

GitHub LinkedIn


⭐ If ReconHawk helped you, drop a star β€” it really helps!

Made with πŸ¦… by Krishna Patwa Β· For educational & authorized security testing only

About

πŸ¦… All-in-one domain OSINT & reconnaissance toolkit - WHOIS, DNS, subdomain enumeration, SSL, tech-stack profiling & more from a simple menu. No API key needed.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages