dissect.target.plugins.browsers.firefox#

Module Contents#

Classes#

FirefoxPlugin

Firefox browser plugin.

Attributes#

dissect.target.plugins.browsers.firefox.FirefoxBrowserHistoryRecord#
class dissect.target.plugins.browsers.firefox.FirefoxPlugin(target)#

Bases: dissect.target.plugin.Plugin

Firefox browser plugin.

__namespace__ = 'firefox'#
DIRS = ['AppData/Roaming/Mozilla/Firefox/Profiles', 'AppData/local/Mozilla/Firefox/Profiles',...#
check_compatible()#

Perform a compatibility check with the target.

This function should return None if the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

history()#

Return browser history records from Firefox.

Yields FirefoxBrowserHistoryRecord 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.