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
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