Difference between revisions of "Talk:Clamav unofficial sigs"

From SME Server
Jump to navigationJump to search
Line 1: Line 1:
 
THANK YOU for this!!!!!
 
THANK YOU for this!!!!!
 +
 +
==workaround for securite informatique==
  
 
to use securiteinfo since 2015
 
to use securiteinfo since 2015
Line 41: Line 43:
 
   http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoascii.hdb \
 
   http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoascii.hdb \
 
   http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoandroid.hdb
 
   http://www.securiteinfo.com/get/signatures/$securiteinfo_authorisation_signature/securiteinfoandroid.hdb
cp -a * /var/clamav/
+
cp -a * /var/clamav/
  
 
  signal-event clamav-update
 
  signal-event clamav-update
 
and
 
and
 
  clamav-unofficial-sigs.sh
 
  clamav-unofficial-sigs.sh
 +
 +
[[User:Unnilennium|Unnilennium]] ([[User talk:Unnilennium|talk]])

Revision as of 11:45, 28 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 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)