An open API service indexing awesome lists of open source software.

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.

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.