8000 GitHub - 0n5/RSHack: RSHack - Tool for hacking CTF's
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0n5/RSHack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Attacks:

    • Wiener Attack
    • Hastad Attack
    • Fermat Attack
    • Bleichenbacher Attack
    • Common Modulus Attack
    • Chosen Plaintext Attack
  • Tools:

    • RSA Public Key parameters extraction (PEM)
    • RSA Private Key parameters extraction (PEM)
    • RSA Private Key construction (PEM)
    • RSA Public Key construction (PEM)
    • RSA Ciphertext Decipher
    • RSA Ciphertext Encipher
  • More informations: https://zweisamkeit.fr/rshack/ (fr)

Usage

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

Requirements

  • Python 2.7 / 3.6

    • PyCrypto
    • gmpy2

Todo

  • More attacks (Discrete logarithm, factorization...)
  • Python 3 only
  • GUI? (v3.0)

Versions

  • Version 2.0 - Saturday, 10 June 2017

    • full POO
    • Multiplateform

Overview

		~~~~~~~~~~~~~~~~~~~~~~~~~
		       RSHack v2.0       
		       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

  • PyCrypto
  • Gmpy2

Alternatives

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

About

RSHack - Tool for hacking CTF's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.6%
  • Shell 9.4%
0