SkillAgentSearch skills...

RSAcrack

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.

Install / Use

/learn @d4t4s3c/RSAcrack

README

RSAcrack

GitHub stars GitHub forks GitHub watchers</br> GitHub commit activity (branch) GitHub contributors

Overview

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.

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 | :heavy_check_mark: | | ssh-keygen | :x: | | PuTTYgen | :heavy_check_mark: | | 8gwifi | :heavy_check_mark: |

View on GitHub
GitHub Stars88
CategoryDevelopment
Updated17h ago
Forks16

Languages

Shell

Security Score

100/100

Audited on Apr 7, 2026

No findings