From 5b3a81de057a51e0770722ef9ae22d85dd3fae3e Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 1 Dec 2018 20:48:53 +0000 Subject: [PATCH] Ensure the yarascan generator returns rows. --- volatility/plugins/yarascan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/plugins/yarascan.py b/volatility/plugins/yarascan.py index e23e0eb76..5e0c1fd83 100644 --- a/volatility/plugins/yarascan.py +++ b/volatility/plugins/yarascan.py @@ -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),