Lost Modulus
Crypto
https://app.hackthebox.com/challenges/lost-modulus
CHALLENGE DESCRIPTION: I encrypted a secret message with RSA but I lost the modulus. Can you help me recover it?
In the file given challenge.py
we can see that it is RSA encryption and the value of e
is 3
Here the e
is small and n
is too large, so m^e < N
When the value of e
is as small as 3, we can just do the 3rd root of cipher text and we can get the message
Python code:
Flag: HTB{n3v3r_us3_sm4ll_3xp0n3n7s_f0r_rs4}
:octocat: Happy Hacking :octocat:
Last updated
Was this helpful?