forked from rDrama/rDrama
1
0
Fork 0
rDrama/scripts/clamscan.sh

6 lines
172 B
Bash
Raw Normal View History

2023-07-26 18:08:56 +00:00
LOGFILE="/var/log/clamav/clamav-$(date +'%Y-%m-%d').log";
clamscan -ri --detect-pua=yes --exclude-dir=/sys/* / >> "$LOGFILE";
tail "$LOGFILE"|grep Infected|cut -d" " -f3