We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b2972 commit 9cc73b6Copy full SHA for 9cc73b6
volatility3/framework/layers/registry.py
@@ -171,7 +171,12 @@ def get_key(
171
node (default) or a list of nodes from root to the current node
172
(if return_list is true).
173
"""
174
- node_key = [self.get_node(self.root_cell_offset)]
+ root_node = self.get_node(self.root_cell_offset)
175
+ if not root_node.vol.type_name.endswith(constants.BANG + "_CM_KEY_NODE"):
176
+ raise RegistryFormatException(
177
+ self.name, "Encountered {} instead of _CM_KEY_NODE".format(root_node.vol.type_name)
178
+ )
179
+ node_key = [root_node]
180
if key.endswith("\\"):
181
key = key[:-1]
182
key_array = key.split("\\")
0 commit comments