Ropme
Last updated
Was this helpful?
Last updated
Was this helpful?
was an 80pts challenge rated as Hard
on HackTheBox. Personally, I don't believe it should have been a hard; the technique used is fairly common and straightforward, and the high points and difficulty is probably due to it being one of the first challenge on the platform.
Exploiting the binary involved executing a attack in order to leak the libc version before gaining RCE using a .
One output, one input, then the program breaks.
No PIE, meaning we can pull off the . Let's leak the libc version.
We can now leak other symbols in order to pinpoint the libc version, for which you can use something like . Once you've done that, it's a simple .