Ubuntu 22.04
Sponsored Link

Clam AntiVirus स्थापित करें2023/09/15

 
सर्वर को वायरस से बचाने के लिए Clam AntiVirus इंस्टॉल करें।
[1] Clamav स्थापित करें।
root@dlp:~#
apt -y install clamav
root@dlp:~#
sed -i -e "s/^NotifyClamd/#NotifyClamd/g" /etc/clamav/freshclam.conf

root@dlp:~#
systemctl stop clamav-freshclam
# पैटर्न फ़ाइलों को मैन्युअल रूप से अपडेट करें

root@dlp:~#
freshclam

Tue Apr 26 01:08:39 2022 -> ClamAV update process started at Tue Apr 26 01:08:39 2022
Tue Apr 26 01:08:39 2022 -> daily.cvd database is up-to-date (version: 26523, sigs: 1981141, f-level: 90, builder: raynman)
Tue Apr 26 01:08:39 2022 -> main.cvd database is up-to-date (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
Tue Apr 26 01:08:39 2022 -> bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)

root@dlp:~#
systemctl start clamav-freshclam
[2] स्कैन करने का प्रयास करें।
root@dlp:~#
clamscan --infected --remove --recursive /home


----------- SCAN SUMMARY -----------
Known viruses: 8613205
Engine version: 0.103.5
Scanned directories: 4
Scanned files: 4
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 19.037 sec (0 m 19 s)
Start Date: 2022:04:26 01:09:05
End Date:   2022:04:26 01:09:24

# परीक्षण वायरस डाउनलोड करें

root@dlp:~#
wget http://www.eicar.org/download/eicar.com
root@dlp:~#
clamscan --infected --remove --recursive ./

/root/eicar.com: Win.Test.EICAR_HDB-1 FOUND
/root/eicar.com: Removed.     # अभी पता चला

----------- SCAN SUMMARY -----------
Known viruses: 8613205
Engine version: 0.103.5
Scanned directories: 7
Scanned files: 6
Infected files: 1
Data scanned: 0.01 MB
Data read: 0.00 MB (ratio 2.00:1)
Time: 19.113 sec (0 m 19 s)
Start Date: 2022:04:26 01:09:44
End Date:   2022:04:26 01:10:03
मिलान सामग्री