Skip to content

Instantly share code, notes, and snippets.

@mdsaleemj
Created October 19, 2015 07:07
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdsaleemj/cdfbdb801a17a6207835 to your computer and use it in GitHub Desktop.
Save mdsaleemj/cdfbdb801a17a6207835 to your computer and use it in GitHub Desktop.
How to install execstack on Ubuntu and Arch Linux

Execstack is a great tool for learning and training on Linux. It is a program which sets, clears, or queries the executable stack flag of ELF binaries and shared libraries. When I was looking to install it I took me a bit to find which package to install it in.

You can install with :

Ubuntu

$ sudo apt-get install prelink

Arch Linux

$ sudo pacman -S prelink

@strarsis
Copy link

By the way, the apt-file tool is great for finding the packages that contain specific files (like the execstack command).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment