1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
GTFOBins.github.io/_gtfobins/check_log.md
2020-12-20 19:53:16 +01:00

498 B

description functions
This is the `check_log` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
file-read file-write sudo
code
LFILE=file_to_read OUTPUT=output_file check_log -F $LFILE -O $OUTPUT cat $OUTPUT
code
LFILE=file_to_write INPUT=input_file check_log -F $INPUT -O $LFILE
code
LFILE=file_to_write INPUT=input_file sudo check_log -F $INPUT -O $LFILE