mirror of https://github.com/CIRCL/lookyloo
VT client trustenv
Modified the vt.Client instantiation to optionally read a value for trustenv from the modules config section.pull/897/head
parent
402e679787
commit
bbabb527de
|
@ -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