You can find the protostar there > Protostar
Let’s check the source code :
We have a function
win, a variable
buffer with 64bytes buffer and the vulnerable function
gets -> doesn’t check while getting bytes.
Let’s run the binary.
It takes an input, let’s check it is vulnerable.
Now let’s find the offset.
Perfect, now let’s find the address of
Let’s make the exploit now.