1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/check_log
2025-12-28 19:36:14 +01:00

18 lines
380 B
Plaintext

---
comment: |-
This is the `check_log` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
functions:
file-read:
- code: |-
check_log -F /path/to/input-file -O /dev/stdout
contexts:
sudo:
unprivileged:
file-write:
- code: |-
check_log -F /path/to/input-file -O /path/to/output-file
contexts:
sudo:
unprivileged:
...