Skip to content

Commit

Permalink
Merge pull request #1020 from volatilityfoundation/1019-printkey-time…
Browse files Browse the repository at this point in the history
…stamps-are-misleadingincorrect

issue #1019 - for subkeys, return the modified time of the subkey its…
  • Loading branch information
ikelos authored Oct 19, 2023
2 parents 57924c5 + a497216 commit 806801e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions volatility3/framework/plugins/windows/registry/printkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ def _printkey_iterator(
vollog.debug(excp)
key_node_name = renderers.UnreadableValue()

# if the item is a subkey, use the LastWriteTime of that subkey
last_write_time = conversion.wintime_to_datetime(
node.LastWriteTime.QuadPart
)

yield (
depth,
(
Expand Down

0 comments on commit 806801e

Please sign in to comment.