Home

Awesome

RSHack for CTF

RSHack is a tool written in python which allows to carry out some attacks on RSA, and offer a few tools to manipulate RSA keys.

Features

Usage

$ git clone https://github.com/zweisamkeit/RSHack.git
$ cd RSHack
$ ./rshack.py

Requirements

$ pip3 install -r requirements.txt # please install the python3-pip package if necessary

Todo

Versions

Overview

		#########################
		#      RSHack v2.1      #
		#      Zweisamkeit      #
		#      GNU GPL v3       #
		#########################



	List of the available attacks:

		1. Wiener Attack
		2. Hastad Attack
		3. Fermat Attack
		4. Bleichenbacher Attack
		5. Common Modulus Attack
		6. Chosen Plaintext Attack

	List of the available tools:

		a. RSA Public Key parameters extraction
		b. RSA Private Key parameters extraction
		c. RSA Private Key construction (PEM)
		d. RSA Public Key construction (PEM)
		e. RSA Ciphertext Decipher
		f. RSA Ciphertext Encipher

	[*] What attack or tool do you want to carry out?

Credits

Alternatives

If my tool does not suit your needs, I know some other tools you'll probrably find intersting: