slimm609 / checksec.sh

Checksec.sh
https://slimm609.github.io/checksec.sh/
Other
1.99k stars 299 forks source link

checksec FORTIFY detection (proccheck) #243

Closed teoberi closed 4 months ago

teoberi commented 4 months ago

Added detailed results for Fortify: 'N/A', 'Partial' in src/functions/proccheck.sh Add cases for 'N/A' and 'Partial' in tests/hardening-checks.sh ('# process checks' section) Update build_binaries.sh ('# Fortify source' section) Change test files for Fortify Fix for #241

teoberi commented 4 months ago

Check shell style (shfmt)................................................Failed

Does the error message refer to the checksec script? After running make build if I test with the command: shfmt -d checksec there are quite a few formatting issues. How can I fix this?

slimm609 commented 4 months ago

if you install pre-commit locally (https://pre-commit.com/), then you can run pre-commit run --all-files and it will format them properly. You can also run the hack/enable-git-hooks.sh, which will make them run automatically on each commit

teoberi commented 4 months ago

Failed!