cpanel的ClamAV用法

1.安装ClamAV
WHM > Cpanel Install Plugin > Enable Clamav Connector
2.更新病毒数据库
freshclam
3.运行扫毒及显示感染文件
clamscan -r -i /home
4.删除感染文件及邮件
clamscan -r -i --remove /home

clamscan用法
$ clamscan myfile
$ clamscan -r -i /home
$ clamscan -r -i –exclude-dir=^/sys\|^/proc\|^/dev /

If you would like clamscan to remove the infected file use the –remove option in the command.

Leave a Reply