Skip to content

Commit 806801e

Browse files
authored
Merge pull request #1020 from volatilityfoundation/1019-printkey-timestamps-are-misleadingincorrect
issue #1019 - for subkeys, return the modified time of the subkey its…
2 parents 57924c5 + a497216 commit 806801e

File tree

1 file changed

+5
-0
lines changed
  • volatility3/framework/plugins/windows/registry

1 file changed

+5
-0
lines changed

volatility3/framework/plugins/windows/registry/printkey.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ def _printkey_iterator(
153153
vollog.debug(excp)
154154
key_node_name = renderers.UnreadableValue()
155155

156+
# if the item is a subkey, use the LastWriteTime of that subkey
157+
last_write_time = conversion.wintime_to_datetime(
158+
node.LastWriteTime.QuadPart
159+
)
160+
156161
yield (
157162
depth,
158163
(

0 commit comments

Comments
 (0)