Skip to main content

dfindexeddb is an experimental Python tool for performing digital forensic analysis of IndexedDB and leveldb files.

Project description

dfIndexeddb

dfindexeddb is an experimental Python tool for performing digital forensic analysis of IndexedDB and leveldb files.

It parses leveldb, IndexedDB and javascript structures from these files without requiring native libraries.

The content of IndexedDB files is dependent on what a web application stores locally/offline using the web browser's IndexedDB API. Examples of content might include:

  • text from a text/source-code editor application,
  • emails and contact information from an e-mail application,
  • images and metadata from a photo gallery application

Installation from source

Linux

  1. Install the snappy compression development package
    $ sudo apt install libsnappy-dev
  1. Clone or download the repository to your local machine.

  2. Create a virutal environemnt and install the package

    $ python3 -m venv .venv
    $ source .venv/bin/activate
    $ pip install .

Tools

This repository contains a number of scripts which demonstrate how one can use this library. To run these tools, please install the click python package.

  • tools/indexeddb_dump.py - parses structures from an IndexedDB and prints them to standard output.
    • Optionally, you can also install the leveldb python package if you would prefer to use a native leveldb library instead of the leveldb parser in this repository.
  • tools/ldb_dump.py - parses structures from a LevelDB .ldb file and prints them to standard output.
  • tools/log_dump.py - parses structures from a LevelDB .log file and prints them to standard output.
    $ pip install click leveldb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dfindexeddb-20240224-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file dfindexeddb-20240224-py3-none-any.whl.

File metadata

File hashes

Hashes for dfindexeddb-20240224-py3-none-any.whl
Algorithm Hash digest
SHA256 5a3add0fb614f07095f83a7f8095f62c8f31dde142f95365aca0110164d7e946
MD5 79b6d51534efad12851c236e27f04b89
BLAKE2b-256 b48ae5df153948336b21c804e5825b95b7782c6f97a6053742c3adc5c96045d1

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page