ClamAV: Difference between revisions

From DWIKI
No edit summary
Line 11: Line 11:


  cd $LOCATION || exit -1
  cd $LOCATION || exit -1
GUNZIP=/bin/gunzip


 
  wget --timestamping http://ftp.tiscali.nl/sanesecurity/phish.ndb.gz && gunzip -f phish.ndb.gz
  wget --timestamping http://ftp.tiscali.nl/sanesecurity/phish.ndb.gz && ${GUNZIP} -f phish.ndb.gz
  wget --timestamping http://ftp.tiscali.nl/sanesecurity/scam.ndb.gz && gunzip -f scam.ndb.gz
  wget --timestamping http://ftp.tiscali.nl/sanesecurity/scam.ndb.gz && ${GUNZIP} -f scam.ndb.gz
  wget --timestamping http://download.mirror.msrbl.com/MSRBL-SPAM.ndb
  wget --timestamping http://download.mirror.msrbl.com/MSRBL-SPAM.ndb
  wget --timestamping  http://download.mirror.msrbl.com/MSRBL-Images.hdb
  wget --timestamping  http://download.mirror.msrbl.com/MSRBL-Images.hdb
wget -O - http://www.malware.com.br/cgi/submit?action=list_clamav > mbl.db
  wget http://www.malware.com.br/cgi/submit?action=list_clamav
  wget http://www.malware.com.br/cgi/submit?action=list_clamav
   
   
  chown clamav.clamav *
  chown clamav.clamav *
  killall -HUP clamd
  killall -HUP clamd

Revision as of 18:54, 9 May 2007

Clam Antivirus

Virus scanner for mail and files.

A handy script for adding more goodies

#!/bin/bash
LOCATION=/var/lib/clamav
cd $LOCATION || exit -1
wget --timestamping http://ftp.tiscali.nl/sanesecurity/phish.ndb.gz && gunzip -f phish.ndb.gz
wget --timestamping http://ftp.tiscali.nl/sanesecurity/scam.ndb.gz && gunzip -f scam.ndb.gz
wget --timestamping http://download.mirror.msrbl.com/MSRBL-SPAM.ndb
wget --timestamping  http://download.mirror.msrbl.com/MSRBL-Images.hdb
wget -O - http://www.malware.com.br/cgi/submit?action=list_clamav > mbl.db
wget http://www.malware.com.br/cgi/submit?action=list_clamav

chown clamav.clamav *
killall -HUP clamd