1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/check_statusfile.md
2020-11-12 14:21:00 +01:00

447 B

description functions
This is the `check_statusfile` Nagios plugi 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_statusfile "$LFILE"
code
LFILE=file_to_read ./check_statusfile "$LFILE"
code
LFILE=file_to_read sudo check_statusfile "$LFILE"