betterthanu

Solution
when running the program, we need to enter how many pp we got and type any last word.

okay from this, i think i know what to do. So let's take a look at the source code.
okay lets go line by line here.
Okay, so, now we know how the program works. We can do integer overflow for variable pp, but we cannot bypass the Line 33 statement.

We must enter pp as 727 to get the flag. So i think it is not about integer flow, but we can do a buffer overflow on Line 23, which the program need as to input any word here.
So, the pp will be 727, and "Any last words?" will be 16 bit of a's.

Flag
osu{i_cant_believe_i_saw_it}
Last updated