https://github.com/d4t4s3c/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.
https://github.com/d4t4s3c/rsacrack
brute-force bruteforce bruteforce-attacks bruteforce-password-cracker bruteforce-tools bruteforcer bruteforcing crack cracking cracking-password passphrase password password-cracker private-key rsa-key rsa-key-encryption ssh ssh-key
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/d4t4s3c/rsacrack
- Owner: d4t4s3c
- License: gpl-3.0
- Created: 2021-06-02T14:49:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T09:27:11.000Z (7 months ago)
- Last Synced: 2025-04-09T20:12:05.276Z (6 months ago)
- Topics: brute-force, bruteforce, bruteforce-attacks, bruteforce-password-cracker, bruteforce-tools, bruteforcer, bruteforcing, crack, cracking, cracking-password, passphrase, password, password-cracker, private-key, rsa-key, rsa-key-encryption, ssh, ssh-key
- Language: Shell
- Homepage:
- Size: 1.24 MB
- Stars: 71
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### RSAcrack
  
 ### 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](https://manpages.ubuntu.com/manpages/noble/man1/ssh-keygen.1.html)] binary, performing a **brute force** attack until a successful collision occurs.

### Download
```sh
wget --no-check-certificate -q "https://raw.githubusercontent.com/d4t4s3c/RSAcrack/refs/heads/main/RSAcrack" && chmod +x RSAcrack
```### Download & Install (PATH)
```cmd
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
```cmd
RSAcrack -k -w
```> [!WARNING]
> The cracking speed can vary depending on which tool the key is generated with.| Key Generated | Cracking Speed |
|---------------|--------------------|
| [OpenSSL](https://linux.die.net/man/1/openssl) | :heavy_check_mark: |
| [ssh-keygen](https://linux.die.net/man/1/ssh-keygen) | :x: |
| [PuTTYgen](https://linux.die.net/man/1/puttygen) | :heavy_check_mark: |
| [8gwifi](https://8gwifi.org/sshfunctions.jsp) | :heavy_check_mark: |