Skip to content

CLI Reference

Andrew Paolucci edited this page Nov 26, 2026 · 2 revisions

CLI Reference (chrome2rust)

Invoking chrome2rust with no arguments launches the platform-default desktop GUI (chrome2rust-win32.exe on Windows; chrome2rust-iced on Linux/macOS).


1. Global Flags

Flag Default Description
-l, --log-level <LEVEL> warn Logging verbosity (error, warn, info, debug, trace).
--log-file <PATH> (None) Write diagnostic logs to a file (keeping stdout clean for --json / mcp).
--audit-manifest <PATH> (None) Write SHA-256 chain-of-custody CSV or JSON manifest (alias: --audit-log).
--pick / --browse false Open native host OS file/folder picker dialog when paths are omitted.

2. Subcommands (15 Total)

1. profiles — Discover Local Browsers & Caches

chrome2rust profiles [--json]

2. sniff — Identify Artifact Format & Magic Bytes

chrome2rust sniff [PATH] [--json]

3. cache — Inspect, List, Extract & Delete Cache Entries

  • cache list:
    chrome2rust cache list [PATH] \
      [--filter <TEXT>] [--url <SUBSTR>] [--content-type <MIME>] \
      [--min-size <BYTES>] [--max-size <BYTES>] [--since <TS>] [--until <TS>] [--last <DUR>] \
      [--no-zero-length] [--hashes] [-f table|tabular|csv|tsv|tab|text|html|vhtml|xml|json] \
      [--columns <COLS>] [--sort <FIELD>] [--desc|--asc] [--no-header] [--millis] [-o <FILE>]
  • cache extract:
    chrome2rust cache extract [PATH] -o <DIR> \
      [--filename-mode url|cache-name|cache-name-ext] [--website-dirs] \
      [--use-detected-ext] [--no-decompress] [--no-update-mtime] [--overwrite]
  • cache inspect:
    chrome2rust cache inspect [PATH] [--url <SUBSTR>] [--preview] [--dump-body <FILE>] [--json]
  • cache delete (Dry-run preview unless --yes is explicitly passed):
    chrome2rust cache delete [PATH] [--url <SUBSTR>] [--content-type <MIME>] [--yes]

4. analyze — User Data Forensic Analysis

chrome2rust analyze [PATH] [--decrypt] [--key <KEY_OR_HEX>] [--no-peanuts] \
  [--extra-cache <DIR>] [--hashes] [--json]

5. report — Standalone Forensic Reports

chrome2rust report [PATH] -o <OUTPUT> [-f html|json|markdown|all] \
  [--decrypt] [--key <KEY_OR_HEX>] [--no-peanuts] [--extra-cache <DIR>] [--no-hashes]

6. custody — SHA-256 & Merkle Root Manifests

chrome2rust custody [PATH] [-o <OUTPUT_MANIFEST>] [--json]

7. pick — Native Host OS Dialog Helper

chrome2rust pick [--kind file|files|folder|save] [--title <TEXT>] [--ext <EXT>] [--dir <PATH>]

8. gui — Launch Desktop Forensic Console

chrome2rust gui [PATH] [--iced] [--decrypt] [--key <KEY_OR_HEX>]

9. mcp — Model Context Protocol Server

chrome2rust mcp [--tools]

10. fx — Mozilla Firefox & Gecko Forensics

chrome2rust fx <cache|history|cookies|bookmarks|downloads|formhistory|addons|sessions> [OPTIONS]

11. opera — Opera Blink & Presto Forensics

chrome2rust opera <cache|history> [OPTIONS]

12. safari — Apple Safari Forensics

chrome2rust safari <cache|history|bookmarks> [OPTIONS]

13. unified — Cross-Browser Aggregated Views

chrome2rust unified <history|downloads|addons|bookmarks|autofill> [OPTIONS]

14. search-queries — Search Engine Query Extractor

chrome2rust search-queries [OPTIONS]

15. carve — Image & Video Signature Carving

chrome2rust carve <images|video> [OPTIONS]

Clone this wiki locally