If you have a private key (id_rsa) protected by a passphrase and you want to obtain the password, RSAcrack will attempt to obtain the public key with the [ssh-keygen] binary, performing a brute force attack until a successful collision occurs.
wget --no-check-certificate -q "https://raw.githubusercontent.com/d4t4s3c/RSAcrack/refs/heads/main/RSAcrack" && chmod +x RSAcrackwget --no-check-certificate -q "https://raw.githubusercontent.com/d4t4s3c/RSAcrack/refs/heads/main/RSAcrack" -O /usr/bin/RSAcrack && chmod +x /usr/bin/RSAcrackRSAcrack -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 | ✔️ |
