Homework - Cannot exploit bufferoverflow

前端 未结 2 2109
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 18:38

I am trying to learn to exploit simple bufferover flow technique on Backtrack Linux.

Here is my C program

#include 
#include 

        
2条回答
  •  無奈伤痛
    2021-01-05 19:31

    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

提交回复
热议问题