i am new to buffer overflow and learning from securitytube.net website but in 7th video i got stucked Buffer Overflow Primer Part 7 (Exploiting A Program Demo)

In this when the value of egg is passed through the vulnerable program on one point 80 bytes are loaded on the stack but mine computer is loading 88 bytes due to which i am not able to smash the stack.

I have faced the same problem with the shellcoder's handbook second edition page 33 topic the address problem and nop method. iam using kali linux 32 bit and have disabled the ASLR but still its not working can anyone give me some direction??

2 Answers 2


Do you have buffer overflow protection enabled by default? What you are describing sounds like a canary value on your stack.

  • no i figured out the code is not working because of nx protection i was trying to run a shellcode in stack thats why
    – user38257
    Commented May 25, 2014 at 15:08

The additional bytes you are seeing on the stack might be alignment bytes introduced by the compiler.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .