Skip to content

Obtain the passphrase of a private key (id_rsa), this tool uses the ssh-keygen binary to perform a brute force attack until a successful collision occurs.

License

Notifications You must be signed in to change notification settings

d4t4s3c/RSAcrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

RSAcrack

GitHub stars GitHub forks GitHub watchers
GitHub commit activity (branch) GitHub contributors

Obtain the passphrase of a private key (id_rsa), this tool uses the ssh-keygen binary to perform a brute force attack until a successful collision occurs.


Download

wget --no-check-certificate -q "https://raw.githubusercontent.com/d4t4s3c/RSAcrack/refs/heads/main/RSAcrack" && chmod +x RSAcrack

Download & Install (PATH)

wget --no-check-certificate -q "https://raw.githubusercontent.com/d4t4s3c/RSAcrack/refs/heads/main/RSAcrack" -O /usr/bin/RSAcrack && chmod +x /usr/bin/RSAcrack

Usage

RSAcrack -k <KEY> -w <WORDLIST>

Warning

The cracking speed can vary depending on which tool the key is generated with.

Key Generated Cracking Speed
OpenSSL ✔️
ssh-keygen
PuTTYgen ✔️
8gwifi ✔️