Skip to content

Commit

Permalink
Merge pull request #107 from obsidianforensics/update-version-detecti…
Browse files Browse the repository at this point in the history
…on-94

Add detection for Chrome versions 91-94. Up Hindsight version.
  • Loading branch information
obsidianforensics authored Oct 16, 2021
2 parents 372410d + b326069 commit cbb3b99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyhindsight/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__author__ = "Ryan Benson"
__version__ = "2021.04.26"
__version__ = "2021.10.15"
__email__ = "ryan@dfir.blog"
10 changes: 9 additions & 1 deletion pyhindsight/browsers/chrome.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def determine_version(self):
Based on research I did to create "Chrome Evolution" tool - dfir.blog/chrome-evolution
"""

possible_versions = list(range(1, 91))
possible_versions = list(range(1, 95))
# TODO: remove 82?
previous_possible_versions = possible_versions[:]

Expand Down Expand Up @@ -168,6 +168,14 @@ def trim_lesser_versions(version):
trim_lesser_versions_if('last_access_time', self.structure['History']['downloads'], 59)
if 'downloads_slices' in list(self.structure['History'].keys()):
trim_lesser_versions(58)
if 'content_annotations' in list(self.structure['History'].keys()):
trim_lesser_versions(91)
if 'context_annotations' in list(self.structure['History'].keys()):
trim_lesser_versions(92)
if 'clusters' in list(self.structure['History'].keys()):
trim_lesser_versions(93)
if 'downloads_reroute_info' in list(self.structure['History'].keys()):
trim_lesser_versions(94)
log.debug(f' - Finishing possible versions: {possible_versions}')

# the pseudo-History file generated by the ChromeNative Volatility plugin should use the v30 query
Expand Down

0 comments on commit cbb3b99

Please sign in to comment.