Merge pull request #897 from DocArmoryTech/patch-1

Proxy with VT module
pull/898/head
Raphaël Vinot 2024-03-14 10:46:00 +01:00 committed by GitHub
commit c4a79c7034
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
{
"VirusTotal": {
"apikey": null,
"trustenv": false,
"autosubmit": false,
"allow_auto_trigger": false
},

View File

@ -33,7 +33,7 @@ class VirusTotal(AbstractModule):
self.logger.info('Not enabled')
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.autosubmit = bool(self.config.get('autosubmit', False))