Practicing buffer overflow attack in Ubuntu

前端 未结 5 1733
我在风中等你
我在风中等你 2021-02-10 00:02

I am trying to learn to use buffer overflow attack in Ubuntu. Unfortunately, I cannot turn off Address Space Layout Randomization (ASLR) feature in this OS, which is turned on b

5条回答
  •  失恋的感觉
    2021-02-10 00:33

    found it myself

    you have to compile this way:

    gcc -fno-stack-protector -z execstack -o OUTPUT INPUT.c

提交回复
热议问题