------------------------------------------------ HM Installation deploy------------------------------------------------- ---
wget -O hm-linux.tgz http://down.shellpub.com/hm/latest/hm-linux-amd64.tgz?version=1.6.0
tar xvf hm-linux.tgz
Create a soft link sudo ln -s hm program full path / usr / bin / hm
Scanning the back door
after hm scan your web directory scan is completed the results will be saved as a file result.csv
查看帮助
hm -h
View version
hm version
升级
hm update
----------------------------------------------- ClamAV installation and deployment -----------------------------------------------
yum -y install clamav
cd /var/lib/clamav/
touch clamd-socket
Account Group Permissions
chown root: root / var / lib / clamav / clamd-socket
(方法1)更新病毒库文件,(如报错,杀掉进程再次执行)
freshclam -v
View port
ps -ax | grep clam
(方法2)更新病毒库文件
wget http://database.clamav.net/main.cvd
wget http://database.clamav.net/daily.cvd
Scan files
clamscan -r / scanned documentsSave scan files to / root / under
clamscan -r / scan files --log = / root / scan.log