Practicing buffer overflow attack in Ubuntu

前端 未结 5 1831
我在风中等你
我在风中等你 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:21

    You can turn off ASLR for a particular process by launching with setarch

    For 32 bit programs:

    setarch i386 -R yourProgram
    

    For 64 bit programs:

    setarch x86_64 -R yourProgram
    

提交回复
热议问题