mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 18:27:39 +02:00
Remove deprecated volatile property in favour of the helper-prefixed property namespace.
This commit is contained in:
@@ -54,7 +54,7 @@ class _CM_KEY_NODE(objects.Struct):
|
||||
"""Extension to allow traversal of registry keys"""
|
||||
|
||||
@property
|
||||
def volatile(self):
|
||||
def helper_volatile(self):
|
||||
if not isinstance(self._context.memory[self.vol.layer_name], RegistryHive):
|
||||
raise ValueError("Cannot determine volatility of registry key without an offset in a RegistryHive layer")
|
||||
return bool(self.vol.offset & 0x80000000)
|
||||
|
||||
@@ -48,7 +48,7 @@ class PrintKey(plugins.PluginInterface):
|
||||
"Key",
|
||||
key_node.helper_name,
|
||||
"",
|
||||
key_node.volatile))
|
||||
key_node.helper_volatile))
|
||||
yield result
|
||||
|
||||
for value_node in node.get_values():
|
||||
@@ -58,7 +58,7 @@ class PrintKey(plugins.PluginInterface):
|
||||
RegValueTypes(value_node.Type).name,
|
||||
value_node.helper_name,
|
||||
str(value_node.decode_data()),
|
||||
node.volatile))
|
||||
node.helper_volatile))
|
||||
yield result
|
||||
|
||||
if self.config['recurse']:
|
||||
|
||||
Reference in New Issue
Block a user