dissect.target.plugins.browsers.chromium#

Module Contents#

Classes#

ChromiumMixin

Mixin class with methods for Chromium-based browsers.

ChromiumPlugin

Chromium browser plugin.

class dissect.target.plugins.browsers.chromium.ChromiumMixin#

Mixin class with methods for Chromium-based browsers.

DIRS = []#
BrowserHistoryRecord#
BrowserDownloadRecord#
history(browser_name: str = None) Iterator[BrowserHistoryRecord]#

Return browser history records from supported Chromium-based browsers.

Parameters:

browser_name – The name of the browser as a string.

Yields:

Records with the following fields – hostname (string): The target hostname. domain (string): The target domain. ts (datetime): Visit timestamp. browser (string): The browser from which the records are generated from. id (string): Record ID. url (uri): History URL. title (string): Page title. description (string): Page description. rev_host (string): Reverse hostname. visit_type (varint): Visit type. visit_count (varint): Amount of visits. hidden (string): Hidden value. typed (string): Typed value. session (varint): Session value. from_visit (varint): Record ID of the “from” visit. from_url (uri): URL of the “from” visit. source: (path): The source file of the history record.

Raises:

SQLError – If the history file could not be processed.

downloads(browser_name: str = None) Iterator[BrowserDownloadRecord]#

Return browser download records from supported Chromium-based browsers.

Parameters:

browser_name – The name of the browser as a string.

Yields:

Records with the following fields – hostname (string): The target hostname. domain (string): The target domain. ts_start (datetime): Download start timestamp. ts_ed (datetime): Download end timestamp. browser (string): The browser from which the records are generated from. id (string): Record ID. path (string): Download path. url (uri): Download URL. size (varint): Download file size. state (varint): Download state number. source: (path): The source file of the download record.

Raises:

SQLError – If the history file could not be processed.

check_compatible() None#

Perform a compatibility check with the target. This function checks if any of the supported browser directories exists. Otherwise it should raise an UnsupportedPluginError. :raises UnsupportedPluginError: If the plugin could not be loaded.

class dissect.target.plugins.browsers.chromium.ChromiumPlugin(target: dissect.target.Target)#

Bases: ChromiumMixin, dissect.target.plugin.Plugin

Chromium browser plugin.

__namespace__ = 'chromium'#
DIRS = ['snap/chromium/common/chromium/Default', 'AppData/Local/Chromium/User Data/Default']#
history()#

Return browser history records for Chromium browser.

downloads()#

Return browser download records for Chromium browser.