Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decryptfile failed #478

Open
zhangyouyi125 opened this issue Apr 26, 2024 · 2 comments
Open

decryptfile failed #478

zhangyouyi125 opened this issue Apr 26, 2024 · 2 comments

Comments

@zhangyouyi125
Copy link

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.
@daedalus
Copy link
Contributor

Please try this and paste the results:

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

@zhangyouyi125
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants