forked from MarseyWorld/MarseyWorld
6 lines
172 B
Bash
6 lines
172 B
Bash
|
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
|