Difference between revisions of "Talk:Clamav unofficial sigs"

From SME Server
Jump to navigationJump to search
Line 31: Line 31:
 
  \";";
 
  \";";
 
  }
 
  }
 +
then
 +
expand-template /etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf
  
 
then  
 
then  

Revision as of 04:25, 29 July 2016

THANK YOU for this!!!!!

workaround for securite informatique

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 (Please paste your personal key where designated):

{
# 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

expand-template /etc/clamav-unofficial-sigs/clamav-unofficial-sigs.conf

then download manually each of the securiteinformatique files in /var/lib/clamav-unofficial-sigs/add-dbs and /var/clamav/ (Please paste your personal key where designated)

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

Unnilennium (talk)