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

'PublicKey' object has no attribute 'd'.

gsons opened this issue · comments

the public key is from example.but not work. here the error .

image

The attack is only for partial private keys not public keys

Please try:

python3 RsaCtfTool.py --attack partial_q --key examples/masked.pem

To see how the attack works

Added a catch for the case where there is only a publickey provided 28acb89