Get the App
SLTechnology News&Howtos  ›  Servers  › 

Hm&clamav scan back door

Shulou Source: shulou.com Published: 2022-06-02 09:59:59 09月30日 Update

-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

Tags: Files methods viruses virus libraries updates backdoors again permissions versions directories programs ports results accounts paths processes upgrades help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Microsoft vpn macOS Redmi