GithubHelp home page GithubHelp logo

hartl3y94 / rshack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zweisamkeit/rshack

0.0 0.0 0.0 70 KB

RSHack - Tool for RSA CTF's challenges

Home Page: https://zweisamkeit.fr/RSHack

Python 100.00%

rshack's Introduction

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

  • Python3

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

Todo

  • More attacks

Versions

  • Version 2.0 - Saturday, 10 June 2017

    • full POO
    • Multiplateform
  • Version 2.1 - Sunday, 11 March 2018

    • Full Python 3

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

  • PyCrypto
  • Gmpy2

Alternatives

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

rshack's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.