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_cups
2025-12-28 19:36:14 +01:00

15 lines
334 B
Plaintext

---
comment: |-
This is the `check_cups` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
functions:
file-read:
- binary: false
code: |-
check_cups --extra-opts=@/path/to/input-file
comment: |-
The read file content is limited to the first line.
contexts:
sudo:
unprivileged:
...