Question: Our stack pointer points to 0 x 7 ffee 9 2 efaf 0 , and our base pointer points to 0 x 7 ffee 9
Our stack pointer points to xffeeefaf and our base pointer points to xffeeefbc
This means that we have decimalbyte words in our stack frame,
including the saved base pointer and the saved return address, for a
total of bytes.
The input buffer begins at xffeeefb partway through the stack frame,
above it in the stack are other local variables used by the function
Your input will be read into this buffer.
The buffer is bytes long, but the program will let you provide an arbitrarily
large input length, and thus overflow the buffer.
In this level, there is a "win" variable.
By default, the value of this variable is zero.
However, if you can set variable to xc the flag will be printed.
You can change this variable by overflowing the input buffer, but keep endianness in mind!
The "win" variable is stored at xffeeefbac, bytes after the start of your input buffer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
