Skip to content

hugojosefson/wg-bruteforce-custom-key

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wg-bruteforce-custom-key

Create a custom wireguard key, where its public key starts with a specific string.

Prerequisites

Requires the wg command-line tool. You can usually find it in a package named wireguard-tools.

For example, on Debian/Ubuntu:

sudo apt install wireguard-tools

Download

git clone https://github.com/hugojosefson/wg-bruteforce-custom-key
cd wg-bruteforce-custom-key

Usage

./src/cli.ts <public_key_prefix>

...where <public_key_prefix> is any string (using base64 alphabet only) for your wireguard public key to start with.

Example:

./src/cli.ts "mylaptop"