minor changes
This commit is contained in:
parent
16196010af
commit
95ddfc4709
|
@ -16,7 +16,7 @@ FILES_WHITELIST="${FILES_WHITELIST} /usr/lib/python3/dist-packages/fail2ban/test
|
||||||
OUT=$(chkrootkit -q -s "$SNIFFERS_WHITELIST" -e "$FILES_WHITELIST")
|
OUT=$(chkrootkit -q -s "$SNIFFERS_WHITELIST" -e "$FILES_WHITELIST")
|
||||||
if [ -n "$OUT" ]
|
if [ -n "$OUT" ]
|
||||||
then
|
then
|
||||||
sh ~/gotifypush.sh "CHK Scan handycat cloud" "$OUT" 5 $TOKEN
|
sh ./gotifypush.sh "CHK Scan handycat cloud" "$OUT" 5 $TOKEN
|
||||||
else
|
else
|
||||||
echo "[chkrootkit] system clean"
|
echo "[chkrootkit] system clean"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -20,7 +20,7 @@ for S in ${DIRTOSCAN}; do
|
||||||
|
|
||||||
# if the value is not equal to zero, send an email with the log file attached
|
# if the value is not equal to zero, send an email with the log file attached
|
||||||
if [ "$MALWARE" -ne "0" ];then
|
if [ "$MALWARE" -ne "0" ];then
|
||||||
sh ~/gotifypush.sh "CLAMAV Scan Kerodes Studi7" "Scanned folder: **$S** \r $MALWARE" 5 $TOKEN
|
sh ./gotifypush.sh "CLAMAV Scan Kerodes Studi7" "Scanned folder: **$S** \r $MALWARE" 5 $TOKEN
|
||||||
else
|
else
|
||||||
echo "[clamav] No infected files found."
|
echo "[clamav] No infected files found."
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,7 +8,7 @@ readonly TOKEN="<TOKEN_GOTIFY_APP>"
|
||||||
OUT=$(rkhunter -c -sk --rwo)
|
OUT=$(rkhunter -c -sk --rwo)
|
||||||
if [ -n "$OUT" ]
|
if [ -n "$OUT" ]
|
||||||
then
|
then
|
||||||
sh ~/gotifypush.sh "RKH Scan handycat cloud" "$OUT" 5 $TOKEN
|
sh ./gotifypush.sh "RKH Scan handycat cloud" "$OUT" 5 $TOKEN
|
||||||
else
|
else
|
||||||
echo "[rkhunter] system clean"
|
echo "[rkhunter] system clean"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue