Last active
October 27, 2019 01:00
-
-
Save kay21s/dd07f704366542a85cba002c5e633134 to your computer and use it in GitHub Desktop.
Disable ASLR in the system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Disable: echo 0 | sudo tee /proc/sys/kernel/randomize_va_space | |
| Enable: echo 2 | sudo tee /proc/sys/kernel/randomize_va_space | |
| But the above configuration will be canceled after a reboot. | |
| For permanent configuration: | |
| Add a file /etc/sysctl.d/01-disable-aslr.conf containing: kernel.randomize_va_space = 0 | |
| sudo docker run -it --network none --privileged --device=/dev/uio1:/dev/uio1 -v /var/run:/var/run -v /mnt/huge/:/mnt/huge/ -v /home/kai/openNetVM/:/openNetVM -w=/ --name=test ubuntu:14.04 /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment