HackBrowserData基于 Go 語言的瀏覽器數(shù)據(jù)導出解密工具
hack-browser-data 是一個解密瀏覽器數(shù)據(jù)(密碼|歷史記錄|Cookies|書簽)的導出工具,支持全平臺主流瀏覽器。
各平臺瀏覽器支持情況
Windows
| 瀏覽器 | 密碼 | Cookie | 書簽 | 歷史記錄 |
|---|---|---|---|---|
| Google Chrome | ? | ? | ? | ? |
| Google Chrome Beta | ? | ? | ? | ? |
| Firefox | ? | ? | ? | ? |
| Microsoft Edge | ? | ? | ? | ? |
| 360 極速瀏覽器 | ? | ? | ? | ? |
| QQ 瀏覽器 | ? | ? | ? | ? |
| Brave 瀏覽器 | ? | ? | ? | ? |
| Opera 瀏覽器 | ? | ? | ? | ? |
| OperaGX 瀏覽器 | ? | ? | ? | ? |
| Vivaldi 瀏覽器 | ? | ? | ? | ? |
| IE 瀏覽器 | ? | ? | ? | ? |
MacOS
由于 MacOS 的安全性設置,基于 Chromium 內核瀏覽器解密時需要當前用戶密碼
| 瀏覽器 | 密碼 | Cookie | 書簽 | 歷史記錄 |
|---|---|---|---|---|
| Google Chrome | ? | ? | ? | ? |
| Google Chrome Beta | ? | ? | ? | ? |
| Firefox | ? | ? | ? | ? |
| Microsoft Edge | ? | ? | ? | ? |
| Brave 瀏覽器 | ? | ? | ? | ? |
| Opera 瀏覽器 | ? | ? | ? | ? |
| OperaGX 瀏覽器 | ? | ? | ? | ? |
| Vivaldi 瀏覽器 | ? | ? | ? | ? |
| Safari | ? | ? | ? | ? |
Linux
| 瀏覽器 | 密碼 | Cookie | 書簽 | 歷史記錄 |
|---|---|---|---|---|
| Google Chrome | ? | ? | ? | ? |
| Google Chrome Beta | ? | ? | ? | ? |
| Firefox | ? | ? | ? | ? |
| Microsoft Edge | ? | ? | ? | ? |
| Brave 瀏覽器 | ? | ? | ? | ? |
| Opera Browser | ? | ? | ? | ? |
| Vivaldi Browser | ? | ? | ? | ? |
安裝運行
可下載已編譯好,直接運行的 二進制文件
某些情況下,這款安全工具會被 Windows Defender 或其他殺毒軟件當作病毒從而無法執(zhí)行,0.2.6 版本后將使用 UPX 做簡單的壓縮殼免殺,后續(xù)不再提供免殺做無謂的安全對抗。代碼已全部開源,可自己修改編譯。
自己編譯
支持版本 go 1.14+
git clone https://github.com/moonD4rk/HackBrowserData cd HackBrowserData go get -v -t -d ./... go build
跨平臺編譯
由于用到了 go-sqlite3 庫,在跨平臺編譯時需提前安裝支持目標平臺的 GCC 工具,下面以 MacOS 下分別編譯 Windows 和 Linux 程序為例:
Windows
brew install mingw-w64 CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC="x86_64-w64-mingw32-gcc" go build
Linux
brew install FiloSottile/musl-cross/musl-cross CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++ GOARCH=amd64 GOOS=linux CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static"
運行
雙擊直接運行,也可以命令行調整對應的命令
PS C:\test> .\hack-browser-data.exe -h
NAME:
hack-browser-data - Export passwords/cookies/history/bookmarks from browser
USAGE:
[hack-browser-data -b chrome -f json -dir results -cc]
Get all data(password/cookie/history/bookmark) from chrome
VERSION:
0.3.2
GLOBAL OPTIONS:
--verbose, --vv verbose (default: false)
--compress, --cc compress result to zip (default: false)
--browser value, -b value available browsers: all|opera|firefox|chrome|edge (default: "all")
--results-dir value, --dir value export dir (default: "results")
--format value, -f value format, csv|json|console (default: "csv")
--profile-dir-path value, -p value custom profile dir path, get with chrome://version
--key-file-path value, -k value custom key file path
--help, -h show help (default: false)
--version, -v print the version (default: false)
PS C:\test> .\hack-browser-data.exe -b all -f json --dir results -cc
[x]: Get 44 cookies, filename is results/microsoft_edge_cookie.json
[x]: Get 54 history, filename is results/microsoft_edge_history.json
[x]: Get 1 passwords, filename is results/microsoft_edge_password.json
[x]: Get 4 bookmarks, filename is results/microsoft_edge_bookmark.json
[x]: Get 6 bookmarks, filename is results/360speed_bookmark.json
[x]: Get 19 cookies, filename is results/360speed_cookie.json
[x]: Get 18 history, filename is results/360speed_history.json
[x]: Get 1 passwords, filename is results/360speed_password.json
[x]: Get 12 history, filename is results/qq_history.json
[x]: Get 1 passwords, filename is results/qq_password.json
[x]: Get 12 bookmarks, filename is results/qq_bookmark.json
[x]: Get 14 cookies, filename is results/qq_cookie.json
[x]: Get 28 bookmarks, filename is results/firefox_bookmark.json
[x]: Get 10 cookies, filename is results/firefox_cookie.json
[x]: Get 33 history, filename is results/firefox_history.json
[x]: Get 1 passwords, filename is results/firefox_password.json
[x]: Get 1 passwords, filename is results/chrome_password.json
[x]: Get 4 bookmarks, filename is results/chrome_bookmark.json
[x]: Get 6 cookies, filename is results/chrome_cookie.json
[x]: Get 6 history, filename is results/chrome_history.json
[x]: Compress success, zip filename is results/archive.zip評論
圖片
表情
