Protostar

Hi, I’ve been practising some buffer overflow lately, and recently started practising the protostar exercises. And well, it went well until the third stack exercise. I’ve followed multiple tutorials, and tried in both 32 and 64 bit os. The response I get is:

calling function pointer, jumping to 0x000011b9
segmentation fault

I tracked that address to be the start of the win function, however I’m not getting the function to run for some reason.

Anyone wanna help a nice guy out? :slight_smile:

For the address you’re posting, maybe you need to break main first, run and then search the address where you want to jump after break.

Trying the protostar exercises in a kali box (or any other box with ASLR) is not recommended for newbies like me :slight_smile:

So did you make it? If not, you can temporarily disable ASLR in your kali box with

sysctl -w kernel.randomize_va_space=0
or
echo 0 > /proc/sys/kernel/randomize_va_space

Type your comment> @prokaryont said:

So did you make it? If not, you can temporarily disable ASLR in your kali box with

sysctl -w kernel.randomize_va_space=0
or
echo 0 > /proc/sys/kernel/randomize_va_space

Yes, I made it, but thanks for the tip! I’m saving that for later :wink: