Don't Go Overboard
Last updated
Last updated
For this challenge, you need to find the right offset so that it will overflow the buffer.
I decompile the code using Ghidra and look at the main function.
At line 16, the program checks the argument of 0
and 5
.
So, I include 05
in my payload, which is 30 bytes of the letter a
.
Like this aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa05
CURTIN_CTF{T@RG3TT3D_0V3RF10W}
So, I found it at 30 bytes but it still doesn't give me the flag