Talk:Clamav unofficial sigs

From SME Server
Revision as of 11:34, 28 July 2016 by Unnilennium (talk | contribs)
Jump to navigation Jump to search

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