Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openssl rsa -in public.pem -text -pubin -noout
- openssl rsa -outform der -in private.pem -out private.key
- openssl rsautl -decrypt -in flag.enc -out flag.txt -inkey private.pem // Result of decryption is in ciphertext
- cat flag.txt
- # FLAG-vOAM5ZcReMNzJqOfxLauakHx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement