Solve the Crypto

25

Solve this Crypto and find the flag.

RsaCtfToolを使います。
$ python RsaCtfTool.py --publickey pub.key --private > priv.key
opensslコマンドで復号します。
$ openssl rsautl -decrypt -in enc.message -inkey priv.key
SGllcl9pc3RfZGVpbmVfRmxhZ2dl
Base64でデコードします。
$ openssl rsautl -decrypt -in enc.message -inkey priv.key | base64 -d
Hier_ist_deine_Flagge
フラグは、
UUTCTF{Hier_ist_deine_Flagge}
です。