clamav杀毒
kali 安装
apt install clamav
更新病毒库
freshclam
更新过和出现如下错误

经过度娘后,网上找到解决方法
删日志文件
rm -f /var/log/clamav/freshclam.log
停服务
systemctl stop clamav-freshclam
在更新
freshclam
启动服务
systemctl start clamav-freshclam
centos 安装
yum install clamav clamav-update
更新
freshclam
#如果出现错误 "Can't open /var/log/clamav/freshclam.log in append mode (check permissions!)"
用chown clamupdate:clamupdate /var/log/clamav/freshclam.log
扫描全盘
clamscan -r --bell -i /
扫描单文件
clamscan file.txt (对应的文件)
扫描文件夹 -r 为递归扫描 -i 发现恶意软件时报告 --remove 移除恶意软件
clamscam -r -i --remove /home

浙公网安备 33010602011771号