- Download the project:
git clone https://github.com/exp101t/rsa-multiple-attack.git
- Install Python requirements:
pip3 install -r requirements.txt
Argument | Argument purpose |
---|---|
-h / --help |
Shows argument list |
--key-files |
List of files (separated by space) with RSA public keys (in PEM format) |
--enc-files |
List of files (separated by space) with encrypted data (raw binary or Base64) |
--exponents --modules --ciphertexts |
List of exponents / modules / ciphertexts separated by space They must be presented as decimal / hexidecimal integer or in Base64 |
--exponents-list --modules-list --ciphertexts-list |
File with exponents / modules / ciphertexts They must be presented as decimal / hexidecimal integer or in Base64 (line by line) |
--chosen-plaintext |
Starts chosen plaintext attack in interactive mode At least one key and ciphertext must be provided |