Clamav AntiVirus2016/11/23 |
Install Clam AntiVirus to protect your System from Virus.
|
|
[1] | Install Clamav. |
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: comment out # Example
[root@dlp ~]#
vi /etc/sysconfig/freshclam # end line: comment out # FRESHCLAM_DELAY=disabled-warn
# update pattern files [root@dlp ~]# freshclam ClamAV update process started at Wed Jun 22 15:34:57 2016 main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer) daily.cld is up to date (version: 21769, sigs: 329782, f-level: 63, builder: neo) bytecode.cld is up to date (version: 281, sigs: 51, f-level: 63, builder: neo) |
[2] | Try to scan. |
# scan /home [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 5128747 Engine version: 0.99.2 Scanned directories: 3 Scanned files: 8 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 8.774 sec (0 m 8 s)[root@dlp ~]# clamscan --infected --remove --recursive . # just detected ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 5128747 Engine version: 0.99.2 Scanned directories: 3 Scanned files: 9 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 8.232 sec (0 m 8 s) |