I am trying to learn to exploit simple bufferover flow technique on Backtrack Linux.
Here is my C program
#include #include
I have answered my own question, the problem was "Executable Stack Protection", where in stack memory cannot be executed. This can be disabled in gcc as follows
gcc -z execstack