GTFOBins.github.io/_gtfobins/check_statusfile.md
2023-09-30 20:40:05 +02:00

14 lines
352 B
Markdown

---
description: |
This is the `check_statusfile` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`. The read file content is limited to the first line.
functions:
file-read:
- code: |
LFILE=file_to_read
check_statusfile $LFILE
sudo:
- code: |
LFILE=file_to_read
sudo check_statusfile $LFILE
---