Starting with an install of clamAV and running an update
yum install clamscan -y
freshclam
Scan to file and send to background
clamscan /var/www/vhosts/ -r > ~/clamscan &
Search for infected files (FOUND) and set them to be immutable
chmod 000 `grep FOUND ~/clamscan.20130319 | awk ‘{print $1}’ | cut -d: -f1`
No comments:
Post a Comment