Skip to content

Commit

Permalink
Merge pull request #897 from DocArmoryTech/patch-1
Browse files Browse the repository at this point in the history
Proxy with VT module
  • Loading branch information
Rafiot authored Mar 14, 2024
2 parents 123a1e2 + bbabb52 commit c4a79c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/modules.json.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"VirusTotal": {
"apikey": null,
"trustenv": false,
"autosubmit": false,
"allow_auto_trigger": false
},
Expand Down
2 changes: 1 addition & 1 deletion lookyloo/modules/vt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def module_init(self) -> bool:
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))
Expand Down

0 comments on commit c4a79c7

Please sign in to comment.