RsaCtfTool

RSA attack tool for CTF challenges - recover private keys from weak public keys and/or decrypt data. More information: https://github.com/RsaCtfTool/RsaCtfTool.

RsaCtfTool.py --publickey {{path/to/key.pub}} --private

RsaCtfTool.py --publickey {{path/to/key.pub}} --decryptfile {{path/to/ciphered_file}}

RsaCtfTool.py --publickey {{path/to/key.pub}} --decrypt "{{ciphertext}}"

RsaCtfTool.py --dumpkey --key {{path/to/key.pub}}

RsaCtfTool.py --publickey {{path/to/key.pub}} --private --attack fermat

RsaCtfTool.py --createpub -n {{modulus}} -e {{exponent}}

RsaCtfTool.py --publickey {{path/to/key.pub}} --private --attack all