We covered a binary vulnerable to format string vulnerability in which the vulnerable code contains an implementation of printf statement that takes the user input directly as an argument without input filtering or validation. This leads the attacker to submit format string specifiers such as %x, %n or %p to leak or even modify values on the stack.. This was part of HackTheBox Leet Test Intro to Binary Exploitation track.
Fully working exploit script can be found here
Flag
HTB{y0u_sur3_r_1337_en0ugh!!}
Video Walkthrough
Show Comments