Difference between revisions of "Talk:Clamav unofficial sigs"

From SME Server
Jump to navigationJump to search
Line 31: Line 31:
  
 
then  
 
then  
download manually each of the securiteinformatique files in /var/clamav/
+
download manually each of the securiteinformatique files in /var/lib/clamav-unofficial-sigs/add-dbs and /var/clamav/
 +
cd /var/lib/clamav-unofficial-sigs/add-dbs
 +
securiteinfo_authorisation_signature="PASTE HERE"
 +
wget http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfo.hdb \
 +
  http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfo.ign2 \
 +
  http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/javascript.ndb \
 +
  http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/spam_marketing.ndb \
 +
  http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfohtml.hdb \
 +
  http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoascii.hdb \
 +
  http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoandroid.hdb
 +
cp -a * /var/clamav/
  
 
  signal-event clamav-update
 
  signal-event clamav-update
 
and
 
and
 
  clamav-unofficial-sigs.sh
 
  clamav-unofficial-sigs.sh

Revision as of 11:34, 28 July 2016

THANK YOU for this!!!!!

to use securiteinfo since 2015

install, but do not yet do the signa-event or run the script

go to register at http://www.securiteinfo.com

mkdir  -p /etc/e-smith/templates-custom/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/
vim /etc/e-smith/templates-custom/etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf/099securiteinfo


the content should be :

{
# paste you code here:
my $securiteinfo_authorisation_signature="PASTE HERE";
$OUT = "securiteinfo_authorisation_signature=\"$securiteinfo_authorisation_signature\"\n";
$OUT .= "add_dbs=\"
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfo.hdb
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfo.ign2
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/javascript.ndb
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/spam_marketing.ndb
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfohtml.hdb
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoascii.hdb
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoandroid.hdb
\";";
}

then download manually each of the securiteinformatique files in /var/lib/clamav-unofficial-sigs/add-dbs and /var/clamav/

cd /var/lib/clamav-unofficial-sigs/add-dbs
securiteinfo_authorisation_signature="PASTE HERE"
wget http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfo.hdb \
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfo.ign2 \
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/javascript.ndb \
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/spam_marketing.ndb \
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfohtml.hdb \
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoascii.hdb \
 http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoandroid.hdb

cp -a * /var/clamav/

signal-event clamav-update

and

clamav-unofficial-sigs.sh