A multithreaded .onion address tester that attempts to discover reachable Tor hidden services by generating random v3 addresses and checking their availability through the Tor network.
- Generates random 56-character
.onionv3 addresses - Uses the Tor SOCKS5 proxy to test reachability
- Multithreaded for higher throughput
- Outputs successful hits to a file
- Configurable via
.envfile
- Rust (latest stable)
- Tor proxy running locally
.envfile (see config below)
Create a .env file in the root:
PROXY_ADDRESS=127.0.0.1:9150
NUM_THREADS=10
TIMEOUT_SECS=10
TOTAL_REQUESTS=100
OUTPUT_FILE=found_onions.txtUse
127.0.0.1:9150for Tor Browser or127.0.0.1:9050for system Tor.
git clone https://github.com/yourusername/onion-scraper.git
cd onion-scraper
# Build optimized binary
cargo build --release
# Run
./target/release/onion_scraperValid .onion URLs will be printed to the console and saved in the file defined by OUTPUT_FILE.
- Random v3
.oniondiscovery is probabilistically unlikely - Most hidden services are private and not discoverable this way
- This tool is more experimental and educational than practical
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
Pull requests and suggestions are welcome! Fork the repo and send improvements.