https://github.com/m3str3/onionforge
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.
https://github.com/m3str3/onionforge
Last synced: 12 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/m3str3/onionforge
- Owner: M3str3
- Created: 2024-05-14T16:53:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T18:15:02.000Z (over 1 year ago)
- Last Synced: 2025-03-12T09:43:56.240Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OnionForge
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.
## Usage
### Basic Usage
To run the program, use the following command:
```sh
cargo run --release [--simulate] [--no-stop]
```
- ``: 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`).
## Examples
### Generate an Address with a Specific Prefix
`cargo run --release myprefix`
### Generate an Address with a Regex Pattern
`cargo run --release r/^mypattern.*`
### Run in Simulation Mode
`cargo run --release myprefix --simulate`
No simulation mode for regex patterns
### Generate and Save Keys Continuously
`cargo run --release myprefix --no-stop`
## Dependencies
- `torut` crate for Tor Onion service key generation.
- `regex` crate for regex pattern matching.
- `num_cpus` crate for detecting the number of CPUs.