Advertisement
foryou97

pubkey.pem

Nov 3rd, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. openssl rsa -in public.pem -text -pubin -noout
  2. openssl rsa -outform der -in private.pem -out private.key
  3. openssl rsautl -decrypt -in flag.enc -out flag.txt -inkey private.pem // Result of decryption is in ciphertext
  4. cat flag.txt
  5. # FLAG-vOAM5ZcReMNzJqOfxLauakHx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement