Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retrieval browser data "Snapshots" folder #680

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

mick-314
Copy link
Contributor

Certain browsers create snapshots during major version updates. These snapshots allow for rollbacks and contain user data, and are thus interesting to take into account as well when retrieving browser information. This PR adds functionality to also retrieve user data from the "Snapshots" directory for the browsers Chrome and Edge.

See the following links for more some context:

This PR adds a globbing feature to the ChromiumMixin class, which the ChromePlugin and EdgePlugin classes both inherit from. _build_userdirs() now supports globbing, and EdgePlugin and ChromePlugin have the wildcard paths that take into account the browser snapshots in the "Snapshots" folder.

Resolves #679.

@mick-314 mick-314 force-pushed the fix/include-browser-snapshots-folder branch from 6a813b9 to d225650 Compare May 31, 2024 12:44
@mick-314 mick-314 force-pushed the fix/include-browser-snapshots-folder branch from d225650 to fc00fbc Compare May 31, 2024 14:27
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 75.06%. Comparing base (4916dd6) to head (20acb4f).

Files Patch % Lines
dissect/target/plugins/apps/browser/chromium.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #680      +/-   ##
==========================================
- Coverage   75.06%   75.06%   -0.01%     
==========================================
  Files         295      295              
  Lines       25081    25082       +1     
==========================================
  Hits        18828    18828              
- Misses       6253     6254       +1     
Flag Coverage Δ
unittests 75.06% <83.33%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Horofic Horofic merged commit 9ae4549 into fox-it:main Jul 22, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse all profiles and snapshots for Chromium based browsers
2 participants