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
Source code and additional information may be found here: https://github.com/zweisamkeit/RSHack