mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-06 21:37:47 +02:00
docs: drop RFC citations and what-comments, fix stale refs
Apply the no-internal-citation and WHY-not-WHAT rules to source comments; correct stale identifiers (NewBrowser, PBKDF2Key) and RFC facts (Yandex ciphertext, Firefox PBKDF2 password).
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
## 1. Command Structure
|
||||
|
||||
The CLI is built on [cobra](https://github.com/spf13/cobra) with three subcommands: `dump`, `list`, and `version`.
|
||||
The CLI is built on [cobra](https://github.com/spf13/cobra) with six subcommands: `dump`, `dumpkeys`, `archive`, `restore`, `list`, and `version`.
|
||||
|
||||
### 1.1 Root Command
|
||||
|
||||
@@ -22,7 +22,7 @@ The primary command. Extracts, decrypts, and writes browser data to files.
|
||||
|------|-------|---------|-------------|
|
||||
| `--browser` | `-b` | `"all"` | Target browser |
|
||||
| `--category` | `-c` | `"all"` | Data categories (comma-separated) |
|
||||
| `--format` | `-f` | `"csv"` | Output format: csv, json, cookie-editor |
|
||||
| `--format` | `-f` | `"json"` | Output format: csv, json, cookie-editor |
|
||||
| `--dir` | `-d` | `"results"` | Output directory |
|
||||
| `--profile-path` | `-p` | | Custom profile directory |
|
||||
| `--keychain-pw` | | | macOS keychain password |
|
||||
@@ -38,7 +38,7 @@ Lists all detected browsers and profiles via `text/tabwriter`.
|
||||
|
||||
**Basic mode** (default) — three columns: Browser, Profile, Path.
|
||||
|
||||
**Detail mode** (`--detail`) — adds a column for every category showing entry counts. This actually calls `Extract()` on each browser to count entries.
|
||||
**Detail mode** (`--detail`) — adds a column for every category showing entry counts. This calls `CountEntries()` on each browser (not `Extract()`) — no decryption is performed.
|
||||
|
||||
### 1.4 version Command
|
||||
|
||||
@@ -125,7 +125,7 @@ CLI: hack-browser-data dump -b chrome -c password,cookie -f csv -d results
|
||||
→ parseCategories("password,cookie") → []Category
|
||||
→ NewWriter("results", "csv") → *Writer
|
||||
→ for each browser:
|
||||
Extract(categories) → *BrowserData
|
||||
Extract(categories) → []ExtractResult
|
||||
Writer.Add(browser, profile, data)
|
||||
→ Writer.Write()
|
||||
→ aggregate by category → format rows → write files
|
||||
|
||||
Reference in New Issue
Block a user