Unverified Commit aaeadc5f authored by slimm609's avatar slimm609 Committed by GitHub
Browse files

Merge pull request #164 from ja-pa/checksec_auto_fix

checksec_automator.sh add check x-pie-executable
parents 53dae795 743b45aa
......@@ -16,7 +16,7 @@ if [[ "$#" -lt 1 ]]; then
exit 1
fi
find "$1" -type f -executable -exec file -i '{}' \; | grep -e 'application/x-sharedlib; charset=binary' -e 'application/x-executable; charset=binary' | cut -c1- | cut -d ':' -f1 > linux_executables.txt
find "$1" -type f -executable -exec file -i '{}' \; | grep -e 'application/x-sharedlib; charset=binary' -e 'application/x-pie-executable; charset=binary' -e 'application/x-executable; charset=binary' | cut -c1- | cut -d ':' -f1 > linux_executables.txt
echo "Checksec Output" | tee "$2"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment