minor changes

This commit is contained in:
Roger Pàmies Fabra 2023-01-21 01:18:34 +01:00
parent 16196010af
commit 95ddfc4709
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ FILES_WHITELIST="${FILES_WHITELIST} /usr/lib/python3/dist-packages/fail2ban/test
OUT=$(chkrootkit -q -s "$SNIFFERS_WHITELIST" -e "$FILES_WHITELIST")
if [ -n "$OUT" ]
then
sh ~/gotifypush.sh "CHK Scan handycat cloud" "$OUT" 5 $TOKEN
sh ./gotifypush.sh "CHK Scan handycat cloud" "$OUT" 5 $TOKEN
else
echo "[chkrootkit] system clean"
fi

View File

@ -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 [ "$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
echo "[clamav] No infected files found."
fi

View File

@ -8,7 +8,7 @@ readonly TOKEN="<TOKEN_GOTIFY_APP>"
OUT=$(rkhunter -c -sk --rwo)
if [ -n "$OUT" ]
then
sh ~/gotifypush.sh "RKH Scan handycat cloud" "$OUT" 5 $TOKEN
sh ./gotifypush.sh "RKH Scan handycat cloud" "$OUT" 5 $TOKEN
else
echo "[rkhunter] system clean"
fi