Skip to content

Commit f74b431

Browse files
committed
Update README
1 parent 05e4a41 commit f74b431

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

README.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ analysis of IndexedDB and LevelDB files.
55

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

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

78-
To parse IndexedDB records from a LevelDB folder (for chrome/chromium) or file (for
79-
safari), use the following command:
78+
To parse IndexedDB records from an sqlite file for Safari, use the following
79+
command:
80+
81+
```
82+
dfindexeddb db --format safari [-o {json,jsonl,repr}] -h
83+
usage: dfindexeddb db [-h] -s SOURCE --format {chromium,chrome,safari} [--use_manifest] [-o {json,jsonl,repr}]
84+
85+
options:
86+
-h, --help show this help message and exit
87+
-s SOURCE, --source SOURCE
88+
The source IndexedDB folder (for chrome/chromium) or file (for safari).
89+
--format {chromium,chrome,safari}
90+
The type of IndexedDB to parse.
91+
--use_manifest Use manifest file to determine active/deleted records.
92+
-o {json,jsonl,repr}, --output {json,jsonl,repr}
93+
Output format. Default is json
94+
```
95+
96+
To parse IndexedDB records from a LevelDB folder for chrome/chromium, use the following command:
8097

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

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

114131
```
115-
dfindexeddb log -h
132+
dfindexeddb log -s SOURCE [-o {json,jsonl,repr}] -h
116133
usage: dfindexeddb log [-h] -s SOURCE [-o {json,jsonl,repr}]
117134
118135
options:
@@ -145,7 +162,7 @@ options:
145162
To parse records from a LevelDB folder, use the following command:
146163

147164
```
148-
dfindexeddb db -h
165+
dfindexeddb db -s SOURCE [-o {json,jsonl,repr}] -h
149166
usage: dfindexeddb db [-h] -s SOURCE [--use_manifest] [-o {json,jsonl,repr}]
150167
151168
options:

0 commit comments

Comments
 (0)