8 lines
641 B
Markdown
8 lines
641 B
Markdown
## Difficulty
|
|
Medium 50 points. Participants will have to analyse the code carefully, understand how data is added to the stack and understand all the machine instructions.
|
|
|
|
## How To Solve
|
|
You need to buffer overflow using the password that you provide in order to overwrite the return address to point to the address that prints out the flag. A possible password that will do the trick is `password1`. Any password will suffice as long as it contains 8 arbitrary characters followed by a '1'. The ASCII value of 1 corresponds to the address you want to overwrite the return address with.
|
|
|
|
## Flag
|
|
IGCTF{H4veY0uTr!edTurn1ng!tOffAndOnAg4in?} |