change name of ntsymbols and call to get_key

This commit is contained in:
Dave Lassalle
2017-11-22 16:03:55 -06:00
parent 51f508e602
commit fdcab2760e
+1 -3
View File
@@ -18,7 +18,7 @@ class PrintKey(plugins.PluginInterface):
return [requirements.TranslationLayerRequirement(name = 'primary',
description = 'Kernel Address Space',
architectures = ["Intel32", "Intel64"]),
requirements.SymbolRequirement(name = "ntsymbols",
requirements.SymbolRequirement(name = "nt_symbols",
description = "Windows OS"),
requirements.IntRequirement(name = 'offset',
description = "Hive Offset",
@@ -91,8 +91,6 @@ class PrintKey(plugins.PluginInterface):
self.context.memory.add_layer(hive)
node = None
if self.config.get('key', None):
node = hive.get_key()
# Walk it
if 'key' in self.config: