0 0

ClamAV manual scan

Update ClamAV:

/usr/local/bin/freshclam

Scan:
/usr/local/bin/clamscan -ri /home

Scan and delete:
clamscan -r --remove /home/username

With log:
clamscan -ri /home/username -l /home/username/infections/clamav.log
clamscan -ri /home/*/domains/*/public_html -l /home/username/infections/clamav.log

Update maldet:
maldet -d && maldet -u

Scan:
maldet --scan-all /home/
maldet -a /home/?/domains/?/public_html

Scan only .php files:
maldet --include-regex ".*.php$" -a /home/?/domains/?/public_html