Hm&clamav scan back door
-hm installation and deployment-
Wget-O hm-linux.tgz http://down.shellpub.com/hm/latest/hm-linux-amd64.tgz?version=1.6.0tar xvf hm-linux.tgz
Create a soft connection sudo ln-s hm program full path / usr/bin/hm
Scan the back door
Hm scan your web directory scan is completed and the result will be saved as a result.csv file.
View help hm-h
View version
Hm version
Upgrade hm update
-clamav installation and deployment-
Yum-y install clamavcd / var/lib/clamav/touch clamd-socket
Account group permissions
Chown root:root / var/lib/clamav/clamd-socket
(method 1) update the virus database file, (if an error is reported, kill the process and execute it again) freshclam-v
View Port
Ps-ax | grep clam
(method 2) Update the virus database file wget http://database.clamav.net/main.cvdwget http://database.clamav.net/daily.cvd
Scan a file
Clamscan-r / scan files
Save the scan file to / root/
Clamscan-r / scan file-log=/root/scan.log