HackTheBox Crypto Weak RSA Challenge

Challenge By : tomtoump

Challenge Description :  Can you decrypt the message and get the flag?

Points : 20

Author : Rehman S. Beg (HTB Profile : MrReh )


Lets download the file and extract it content, we get 2 files flag.enc and key.pub

Lets open the files and see what we have inside

So we have RSA public key and enocded flag.enc so lets decrypt it, after some google research

we got this tool https://github.com/Ganapati/RsaCtfTool to complete this challenge

"python RsaCtfTool.py --publickey key.pub --uncipherfile flag.enc"FLAG : “HTB{s1mpl3_Wi3n3rs_4tt4ck}”

Leave a Reply

Your email address will not be published. Required fields are marked *