diff --git a/volatility/plugins/windows/printkey.py b/volatility/plugins/windows/printkey.py index 153d17bb2..e2fddedfb 100644 --- a/volatility/plugins/windows/printkey.py +++ b/volatility/plugins/windows/printkey.py @@ -117,7 +117,7 @@ class PrintKey(plugins.PluginInterface): (renderers.UnreadableValue(), renderers.format_hints.Hex(hive.hive_offset), "Key", - self.config['key'], + self.config.get('key', "ROOT"), renderers.UnreadableValue(), renderers.UnreadableValue(), renderers.UnreadableValue()))