mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-29 21:14:55 +02:00
Merge pull request #1617 from volatilityfoundation/dgmcdona/windows_envars_silent_vars
Windows Envars: Remove extra config check
This commit is contained in:
@@ -200,15 +200,13 @@ class Envars(interfaces.plugins.PluginInterface):
|
||||
return values
|
||||
|
||||
def _generator(self, data):
|
||||
silent_vars = []
|
||||
if self.config.get("SILENT", None):
|
||||
silent_vars = self._get_silent_vars()
|
||||
silent_vars = self._get_silent_vars() if self.config.get("SILENT") else []
|
||||
|
||||
for task in data:
|
||||
for var, val in task.environment_variables():
|
||||
if self.config.get("silent", None):
|
||||
if var in silent_vars:
|
||||
continue
|
||||
if var in silent_vars:
|
||||
continue
|
||||
|
||||
yield (
|
||||
0,
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user