LeakRecon is an enterprise-grade, highly scalable asynchronous OSINT (Open Source Intelligence) framework. Designed for security professionals, penetration testers, and threat analysts, LeakRecon automates deep investigations across the Surface Web and the Dark Web. By leveraging modern Python capabilities (asyncio, aiohttp) over a secure SOCKS5 Tor proxy circuit, the framework executes massive distributed queries without sacrificing anonymity.
From tracking cryptocurrency transactions related to ransomware to uncovering compromised credentials and charting identity footprints, LeakRecon centralizes advanced reconnaissance into a unified, visually stunning CLI interface.
LeakRecon's Interactive Command Line Interface.
LeakRecon has been entirely rewritten to transition from a legacy synchronous threaded model to a pure, non-blocking asynchronous event loop architecture.
All outbound network operations are rigorously routed through the Tor network. LeakRecon employs internal circuit-breaker mechanisms and dynamic Tor identity refreshing. If the Tor proxy fails, the engine instantly halts execution to prevent accidental IP leaks.
Powered by aiohttp and asyncio.Semaphore, the framework executes bulk dorking, port scanning, and API scraping concurrently. This drastically reduces execution times during large-scale footprinting operations, effectively utilizing maximum requests-per-second (RPS) limits without triggering rate-limits.
LeakRecon persists all scan findings locally via a thread-safe SQLite backend. It provides advanced historical tracking, chronological scan diffing (to monitor targets over time), and exporting capabilities. Generate high-quality intelligence reports in multiple formats:
- HTML: Interactive, dark-themed reports suitable for executive delivery.
- PDF: Polished, static document formats powered by
pdfkitandwkhtmltopdf. - JSON/CSV: Raw data exports for SIEM and custom data pipeline integrations.
Example of a generated comprehensive HTML Intelligence Report.
LeakRecon operates through several highly specialized modules, each focused on a unique vector of intelligence.
Real-time username testing and identity profiling via CLI.
-
Dark Web Scraper (
modules/darkweb_scraper.py)- Conducts concurrent dork searches across deep web repositories, paste sites, and Tor-native search engines (e.g., Ahmia, Onion DuckDuckGo).
- Utilizes advanced false-positive detection algorithms to extract precise target snippets.
-
Identity Profiling (
modules/identity_recon.py)- Scans massive datasets for compromised emails, usernames, and physical addresses.
- Extracts associated hashes and cross-references them against known breaches.
-
Network Intelligence (
modules/network_intel.py)- Conducts asynchronous subnet tracking and asynchronous TCP SOCKS5 port enumeration over Tor.
- Executes DNS, WHOIS, and IP reputation analytics without directly touching the target.
-
Onion Surface Analyzer (
modules/onion_scanner.py)- Analyzes bulk
.onionendpoints for live status, extracts hidden metadata, and performs deep technological fingerprinting. - Downloads and isolates
.onionsite resources safely.
- Analyzes bulk
-
Credential Hunting (
modules/credential_hunt.py)- Hunts for specific user/password combinations across Stealer Logs, combolists, and pastebins.
-
Crypto Tracker (
modules/crypto_tracker.py)- Maps blockchain forensics for Bitcoin, Ethereum, and Monero.
- Correlates wallets to known illicit activities, ransomware variants, and mixer/tumbler services.
LeakRecon provides three deployment strategies. Docker is highly recommended to guarantee absolute network isolation and zero-dependency friction.
Requires Docker and Docker Compose.
# 1. Clone the repository
git clone https://github.com/egnake/LeakRecon.git
cd LeakRecon
# 2. Setup the environment configuration
cp .env.example .env
# 3. Build the isolated Tor proxy and App containers
docker-compose up -d --build
# 4. Attach to the interactive console
docker exec -it leakrecon_app python main.pyInstall directly from GitHub as a Python package:
pip install git+https://github.com/egnake/LeakRecon.git
# Run from anywhere
leakreconOr install in development/editable mode:
git clone https://github.com/egnake/LeakRecon.git
cd LeakRecon
pip install -e ".[dev]"
# Run
leakreconRequires Python 3.10+ and an active local Tor proxy service.
# 1. Clone the repository
git clone https://github.com/egnake/LeakRecon.git
cd LeakRecon
# 2. Create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# 3. Install required async dependencies
pip install -r requirements.txt
# 4. Setup configuration
cp .env.example .envwkhtmltopdf on your host machine:
- Debian/Ubuntu:
sudo apt install wkhtmltopdf - macOS:
brew install homebrew/cask/wkhtmltopdf - Windows: Download from the wkhtmltopdf website and add it to your system PATH.
Start the Framework:
Ensure your Tor daemon or Tor Browser is running (Ports 9050 or 9150), check the .env settings, and run:
python main.pyYou can precisely tune the async engine by modifying the .env file:
# --- Tor Proxy Configuration ---
# 9050 for Standalone Tor, 9150 for Tor Browser Background
TOR_PROXY_HOST=127.0.0.1
TOR_PROXY_PORT=9150
# --- Engine Constraints ---
# Maximum concurrent asyncio connections
MAX_CONCURRENCY=20
# Timeouts & Retries
ONION_TIMEOUT=30
CLEARNET_TIMEOUT=15
MAX_RETRIES=3
RETRY_BACKOFF=1.5
CIRCUIT_BREAKER_THRESHOLD=2LeakRecon incorporates a pytest suite designed to validate core mechanics, proxy handling, and configuration integrity without polluting external environments.
# Ensure dev-dependencies are installed
pip install pytest pytest-asyncio
# Execute the test suite
pytest tests/LeakRecon is engineered strictly for authorized security auditing, academic research, and lawful threat intelligence operations.
- 🚫 You MUST NOT utilize this tool to attack, scan, or scrape targets for which you do not possess explicit, written, and mutual consent.
- 🚫 The author (egnake) assumes ZERO LIABILITY for misuse, data damage, or illegal activities conducted via this software.
- ⚖️ By downloading, cloning, or executing LeakRecon, you agree to adhere to all applicable local, state, and international cyber laws.
Available under the MIT License.
