Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sydp committed Apr 23, 2024
1 parent 05e4a41 commit f74b431
Showing 1 changed file with 25 additions and 8 deletions.
33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ analysis of IndexedDB and LevelDB files.

It parses LevelDB, IndexedDB and JavaScript structures from these files without
requiring native libraries. (Note: only a subset of IndexedDB key types and
JavaScript types for Chromium-based browsers are currently supported. Safari
and Firefox are under development).
JavaScript types for Safari and Chromium-based browsers are currently supported.
Firefox is under development).

The content of IndexedDB files is dependent on what a web application stores
locally/offline using the web browser's
Expand Down Expand Up @@ -75,11 +75,28 @@ options:
-h, --help show this help message and exit
```

To parse IndexedDB records from a LevelDB folder (for chrome/chromium) or file (for
safari), use the following command:
To parse IndexedDB records from an sqlite file for Safari, use the following
command:

```
dfindexeddb db --format safari [-o {json,jsonl,repr}] -h
usage: dfindexeddb db [-h] -s SOURCE --format {chromium,chrome,safari} [--use_manifest] [-o {json,jsonl,repr}]
options:
-h, --help show this help message and exit
-s SOURCE, --source SOURCE
The source IndexedDB folder (for chrome/chromium) or file (for safari).
--format {chromium,chrome,safari}
The type of IndexedDB to parse.
--use_manifest Use manifest file to determine active/deleted records.
-o {json,jsonl,repr}, --output {json,jsonl,repr}
Output format. Default is json
```

To parse IndexedDB records from a LevelDB folder for chrome/chromium, use the following command:

```
dfindexeddb db -h
dfindexeddb db --format chrome [--use_manifest] [-o {json,jsonl,repr}] -h
usage: dfindexeddb db [-h] -s SOURCE --format {chromium,chrome,safari} [--use_manifest] [-o {json,jsonl,repr}]
options:
Expand All @@ -97,7 +114,7 @@ To parse IndexedDB records from a LevelDB ldb (.ldb) file, use the following
command:

```
dfindexeddb ldb -h
dfindexeddb ldb -s SOURCE [-o {json,jsonl,repr}] -h
usage: dfindexeddb ldb [-h] -s SOURCE [-o {json,jsonl,repr}]
options:
Expand All @@ -112,7 +129,7 @@ To parse IndexedDB records from a LevelDB log (.log) file, use the following
command:

```
dfindexeddb log -h
dfindexeddb log -s SOURCE [-o {json,jsonl,repr}] -h
usage: dfindexeddb log [-h] -s SOURCE [-o {json,jsonl,repr}]
options:
Expand Down Expand Up @@ -145,7 +162,7 @@ options:
To parse records from a LevelDB folder, use the following command:

```
dfindexeddb db -h
dfindexeddb db -s SOURCE [-o {json,jsonl,repr}] -h
usage: dfindexeddb db [-h] -s SOURCE [--use_manifest] [-o {json,jsonl,repr}]
options:
Expand Down

0 comments on commit f74b431

Please sign in to comment.