Update hashdump.py

calling `<reg_key>.Name` returns array, changed to `<reg_key>.get_name()` which returns a string (the if statement in the code didn't work before this change)
This commit is contained in:
Elad Levi
2025-05-19 13:24:58 +03:00
committed by GitHub
parent a413c44b00
commit cb3e18ec9e
@@ -350,7 +350,7 @@ class Hashdump(interfaces.plugins.PluginInterface):
if not user_key:
return []
return [k for k in user_key.get_subkeys() if k.Name != "Names"]
return [k for k in user_key.get_subkeys() if k.get_name() != "Names"]
@classmethod
def get_bootkey(cls, syshive: registry_layer.RegistryHive) -> Optional[bytes]: