feat(firefox): decrypt profiles with a primary password (#704)

Profiles protected by a Firefox primary password could not be decrypted; --firefox-pw and --firefox-pw-stdin supply it, read once per run, and new 48-byte NSS salts hash with SHA-384.

Closes #109
This commit is contained in:
Roger authored and GitHub committed 2026-11-19 16:51:00 +08:00
1 parent c733ac9d6d
commit b14b2c021a
15 files changed
+332 -69

No files matched your search

+4
View File
@@ -1,6 +1,8 @@
hack-browser-data --browser -b string "all"
hack-browser-data --category -c string "all"
hack-browser-data --dir -d string "results"
hack-browser-data --firefox-pw string ""
hack-browser-data --firefox-pw-stdin bool "false"
hack-browser-data --format -f string "json"
hack-browser-data --help -h bool "false"
hack-browser-data --keychain-pw string ""
@@ -17,6 +19,8 @@ hack-browser-data archive --verbose -v bool "false" inherited
hack-browser-data dump --browser -b string "all"
hack-browser-data dump --category -c string "all"
hack-browser-data dump --dir -d string "results"
hack-browser-data dump --firefox-pw string ""
hack-browser-data dump --firefox-pw-stdin bool "false"
hack-browser-data dump --format -f string "json"
hack-browser-data dump --help -h bool "false"
hack-browser-data dump --keychain-pw string ""