Created
January 27, 2017 13:07
-
-
Save un4ckn0wl3z/7b2276784a559d0bc6befcb0b3d9551b to your computer and use it in GitHub Desktop.
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
| #echo 0 > /proc/sys/kernel/randomize_va_space | |
| $gcc -g -fno-stack-protector -z execstack -o vuln vuln.c | |
| $sudo chown root vuln | |
| $sudo chgrp root vuln | |
| $sudo chmod +s vuln |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment