Skip to content

Commit

Permalink
VT client trustenv
Browse files Browse the repository at this point in the history
Modified the vt.Client instantiation to optionally read a value for trustenv from the modules config section.
  • Loading branch information
DocArmoryTech authored Mar 13, 2024
1 parent 402e679 commit bbabb52
Showing 1 changed file with 1 addition and 1 deletion.
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 bbabb52

Please sign in to comment.