Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/self/root/lib64/nagios/plugins/nccustom/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/self/root/lib64/nagios/plugins/nccustom/check_suid_status.sh

#!/bin/bash
log_file_suid="/var/log/nc_audit/suid_check.log"
if [ -s "$log_file_suid" ]; then
    last_line_suid=$(tail -n 1 "$log_file_suid")
    if [[ "$last_line_suid" == *"CRITICAL!"* ]]; then
        tac "$log_file_suid" | awk '/OK./{exit}1' | tac
        exit 2
    fi
fi
echo "OK"
exit 0

Hacked By AnonymousFox1.0, Coded By AnonymousFox