rsaEZ

用CTF-RSA-tool,根据公钥获得私钥:

python solve.py --verbose --key test/public.key --private

根据私钥逐个进行解密。

openssl rsautl -decrypt -in encrypted.message1 -inkey private.key -out flag1.txt
openssl rsautl -decrypt -in encrypted.message2 -inkey private.key -out flag2.txt
openssl rsautl -decrypt -in encrypted.message3 -inkey private.key -out flag3.txt

拼接起来即可。

cat flag1.txt flag2.txt flag3.txt

Last updated