Difference between revisions of "Clamav"
Jump to navigation
Jump to search
(Created page with "``` apt-get install -y clamav clamav-daemon systemctl stop clamav-freshclam freshclam systemctl start clamav-freshclam systemctl enable clamav-freshclam ls /var/lib/clamav/ mk...") |
|||
Line 11: | Line 11: | ||
clamscan --infected --recursive /test | clamscan --infected --recursive /test | ||
``` | ``` | ||
+ | |||
+ | vim /etc/clamav/freshclam.conf | ||
+ | ``` | ||
+ | # Check for new database 24 times a day | ||
+ | Checks 24 | ||
+ | ``` | ||
+ | |||
+ | https://www.howtoforge.com/tutorial/configure-clamav-to-scan-and-notify-virus-and-malware/ |
Revision as of 17:14, 6 November 2021
apt-get install -y clamav clamav-daemon systemctl stop clamav-freshclam freshclam systemctl start clamav-freshclam systemctl enable clamav-freshclam ls /var/lib/clamav/ mkdir /test echo "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" > /test/malware-sig-test-eicar.txt # clamscan --infected --recursive /test | tee clamscan.log # --remove clamscan --infected --recursive /test
vim /etc/clamav/freshclam.conf
# Check for new database 24 times a day Checks 24
https://www.howtoforge.com/tutorial/configure-clamav-to-scan-and-notify-virus-and-malware/