An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

### RSAcrack

![GitHub stars](https://img.shields.io/github/stars/d4t4s3c/RSAcrack?logoColor=yellow) ![GitHub forks](https://img.shields.io/github/forks/d4t4s3c/RSAcrack?logoColor=purple) ![GitHub watchers](https://img.shields.io/github/watchers/d4t4s3c/RSAcrack?logoColor=green)
![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/d4t4s3c/RSAcrack) ![GitHub contributors](https://img.shields.io/github/contributors/d4t4s3c/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.

![](/img/img.png)

### 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: |