mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 12:47:39 +02:00
Ensure the yarascan generator returns rows.
This commit is contained in:
@@ -83,7 +83,7 @@ class YaraScan(plugins.PluginInterface):
|
||||
vollog.error("No yara rules, nor yara rules file were specified")
|
||||
|
||||
for offset, name in layer.scan(YaraScanner(rules = rules), max_address = self.config['max_size']):
|
||||
yield format_hints.Hex(offset), name
|
||||
yield (0, (format_hints.Hex(offset), name))
|
||||
|
||||
def run(self):
|
||||
return renderers.TreeGrid([('Offset', format_hints.Hex),
|
||||
|
||||
Reference in New Issue
Block a user