Fixed requested issues

This commit is contained in:
Jack Wenger
2020-08-23 21:32:27 +01:00
committed by ikelos
parent 9b8bdc2eab
commit cd78958161
@@ -18,8 +18,6 @@ from volatility.plugins.windows.registry import hivelist
vollog = logging.getLogger(__name__)
vollog = logging.getLogger(__name__)
class Hashdump(interfaces.plugins.PluginInterface):
"""Dumps user hashes from memory"""
@@ -75,12 +73,9 @@ class Hashdump(interfaces.plugins.PluginInterface):
lsa_base = "ControlSet{0:03}".format(cs) + "\\Control\\Lsa"
lsa_keys = ["JD", "Skew1", "GBG", "Data"]
try:
lsa = syshive.get_key(lsa_base)
except KeyError:
vollog.debug("Unable to read hashes from registry")
lsa = syshive.get_key(lsa_base)
if not lsa:
return None
bootkey = ''