checksec: add page (#10638)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Johan Degn 2023-08-29 04:54:43 +02:00 committed by GitHub
parent 221c4481f2
commit b5db16bf55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/common/checksec.md Normal file
View File

@ -0,0 +1,20 @@
# checksec
> Check security properties of executables.
> More information: <https://github.com/slimm609/checksec.sh>.
- List security properties of an executable binary file:
`checksec --file={{path/to/binary}}`
- List security properties recursively of all executable files in a directory:
`checksec --dir={{path/to/directory}}`
- List security properties of a process:
`checksec --proc={{pid}}`
- List security properties of the running kernel:
`checksec --kernel`