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
$ pip install dfindexeddb
Installation from source
Linux
- Install the snappy compression development package
$ sudo apt install libsnappy-dev
-
Clone or download the repository to your local machine.
-
Create a virutal environemnt and install the package
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install .
Usage
A CLI tool is available after installation:
$ dfindexeddb -h
usage: dfindexeddb [-h] -s SOURCE [--json] {log,ldb,indexeddb} ...
A cli tool for the dfindexeddb package
positional arguments:
{log,ldb,indexeddb}
options:
-s SOURCE, --source SOURCE
The source leveldb file
--json Output as JSON
To parse a LevelDB .log file:
$ dfindexeddb -s <SOURCE> log -h
usage: dfindexeddb log [-h] {blocks,physical_records,write_batches,parsed_internal_key,records}
positional arguments:
{blocks,physical_records,write_batches,parsed_internal_key,records}
options:
-h, --help show this help message and exit
To parse a LevelDB .ldb file:
$ dfindexeddb -s <SOURCE> ldb -h
usage: dfindexeddb ldb [-h] {blocks,records}
positional arguments:
{blocks,records}
options:
-h, --help show this help message and exit
To parse a LevelDB .ldb or .log file as IndexedDB:
$ dfindexeddb -s <SOURCE> indexeddb -h
usage: dfindexeddb indexeddb [-h]
options:
-h, --help show this help message and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dfindexeddb-20240229.tar.gz
.
File metadata
- Download URL: dfindexeddb-20240229.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8741418469e04e399aa4502cf542e3c2521d63a43c04ce76879fa38d02ad5144 |
|
MD5 | 8a44bfd78dc222b2d22cef67d6846741 |
|
BLAKE2b-256 | 04f2b68f06d092c47fdeb0fc5e8ffc5cfac0459d828f3277fa0fa20f7d3041e3 |
File details
Details for the file dfindexeddb-20240229-py3-none-any.whl
.
File metadata
- Download URL: dfindexeddb-20240229-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23529c5943886ac8efe13aec00ec23c523900a3673141c1b4e7b7a347ddbaf31 |
|
MD5 | 90a6856ccb9ff9b8eb5a6316a6315970 |
|
BLAKE2b-256 | 3575dece48e60447e71f2409924fe9bf72ccaf1d929f591b22066c2427a7d346 |