2 ms·
The executable has to have ASLR enabled as a flag, so you just compile without the flag
by kevingadd 5y ago
The executable has to have ASLR enabled as a flag, so you just compile without the flag
- kuroguro 5y agoAlso can disable globally, for ex. if source isn't available. https://stackoverflow.com/a/9561263/1895684 https://stackoverflow.com/a/9561263/1895684
- _piif 5y agoAlternatively it's also possible to disable ASLR in the executable itself by removing the flag 0x40 (opt-in flag for ASLR) in the DllCharacteristics field of the header. There's a neat little tool called SetDllCharacteristics[0] which can do that. [0] https://blog.didierstevens.com/2010/10/17/setdllcharacteristics/ https://blog.didierstevens.com/2010/10/17/setdllcharacterist...