RingZer0-49 - Cryptography - File Recovery
File Recovery
Files
When we unzip the tar file, we end up with two files.
We use our best friend file
file *
flag.enc: data
private.pem: PEM RSA private key
So we got a RSA private key.
Openssl
Openssl
will help us decrypt flag.enc using the private.pem
openssl rsautl -decrypt -inkey private.pem -in flag.enc -out something
cat something
FLAG-vOAM5ZcReMNzJqOfxLauakHx
The flag is : FLAG-vOAM5ZcReMNzJqOfxLauakHx