Add logging for when a Services key cannot be retrieved

This commit is contained in:
David McDonald
2024-01-29 00:38:06 -06:00
parent c517a44cde
commit 42c2a86a37
@@ -165,6 +165,10 @@ class SvcScan(interfaces.plugins.PluginInterface):
objects.StructType, hive.get_key(r"ControlSet001\Services")
)
except (KeyError, exceptions.InvalidAddressException):
vollog.log(
constants.LOGLEVEL_VVVV,
"Could not retrieve any control set from SYSTEM hive",
)
pass
return None