OnionForge generates custom .onion addresses for Tor hidden services using brute force. Specify a prefix or regex pattern to find matching .onion addresses. Includes a simulation mode to estimate the time needed to find a match.
To run the program, use the following command:
cargo run --release <prefix> [--simulate] [--no-stop]
<prefix>
: The prefix you want the .onion address to start with. If it starts with r/, it is treated as a regex pattern.--simulate
: Run the program in simulation mode for 10 seconds to estimate generation time.--no-stop
: Continue generating and saving keys even after finding a match.--no-header
: Do not include the header required by Tor service (ed25519v1-secret: type0
).
cargo run --release myprefix
cargo run --release /r^mypattern.*
cargo run --release myprefix --simulate
No simulation mode for regex patterns
cargo run --release myprefix --no-stop
torut
crate for Tor Onion service key generation.regex
crate for regex pattern matching.num_cpus
crate for detecting the number of CPUs.