checksec

Check security properties of executables. More information: https://github.com/slimm609/checksec.sh.

checksec --file=path/to/binary

checksec --dir=path/to/directory

checksec --proc=pid

checksec --kernel