RsaCtfTool / RsaCtfTool

RSA attack tool (mainly for ctf) - retrieve private key from weak public key and/or uncipher data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decryptfile failed

zhangyouyi125 opened this issue · comments

publickety decrypt file failed , Private key and decrypted data are required.

(base) ➜  RsaCtfTool git:(master) ✗ python RsaCtfTool.py --publickey key.pem --decryptfile cipher.bin
private argument is not set, the private key will not be displayed, even if recovered.
Private key and decrypted data are required.

Please try this and paste the results:

./RsaCtfTool.py --publickey examples/primefac.pub --decryptfile examples/cipher1,examples/cipher2,examples/cipher3

Please try this and paste the results:

./RsaCtfTool.py --publickey examples/primefac.pub --decryptfile examples/cipher1,examples/cipher2,examples/cipher3

I reloaded the project, and it worked. Thanks!