mirror of https://github.com/CIRCL/lookyloo
commit
c4a79c7034
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"VirusTotal": {
|
"VirusTotal": {
|
||||||
"apikey": null,
|
"apikey": null,
|
||||||
|
"trustenv": false,
|
||||||
"autosubmit": false,
|
"autosubmit": false,
|
||||||
"allow_auto_trigger": false
|
"allow_auto_trigger": false
|
||||||
},
|
},
|
||||||
|
|
|
@ -33,7 +33,7 @@ class VirusTotal(AbstractModule):
|
||||||
self.logger.info('Not enabled')
|
self.logger.info('Not enabled')
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.client = vt.Client(self.config['apikey'])
|
self.client = vt.Client(self.config['apikey'], trustenv=bool(self.config['trustenv'], False))
|
||||||
|
|
||||||
self.allow_auto_trigger = bool(self.config.get('allow_auto_trigger', False))
|
self.allow_auto_trigger = bool(self.config.get('allow_auto_trigger', False))
|
||||||
self.autosubmit = bool(self.config.get('autosubmit', False))
|
self.autosubmit = bool(self.config.get('autosubmit', False))
|
||||||
|
|
Loading…
Reference in New Issue