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 0x7ffee92efaf0, and our base pointer points to 0x7ffee92efbc0.
This means that we have (decimal)288-byte words in our stack frame,
including the saved base pointer and the saved return address, for a
total of 224 bytes.
The input buffer begins at 0x7ffee92efb30, 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 121 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 0x77648c65, 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 0x7ffee92efbac, 124 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!