【渗透工具】浏览器数据导出工具
生活随笔
收集整理的這篇文章主要介紹了
【渗透工具】浏览器数据导出工具
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
參考開源項目:
GitHub - moonD4rk/HackBrowserData: Decrypt passwords/cookies/history/bookmarks from the browser. 一款可全平臺運行的瀏覽器數據導出解密工具。
HackBrowserData?是一個瀏覽器數據(密碼|歷史記錄|Cookie|書簽|信用卡|下載記錄|localStorage|瀏覽器插件)的導出工具,支持全平臺主流瀏覽器。
各平臺瀏覽器支持情況
Windows
| Google Chrome | ? | ? | ? | ? |
| Google Chrome Beta | ? | ? | ? | ? |
| Chromium | ? | ? | ? | ? |
| Microsoft Edge | ? | ? | ? | ? |
| 360 極速瀏覽器 | ? | ? | ? | ? |
| ? | ? | ? | ? | |
| Brave | ? | ? | ? | ? |
| Opera | ? | ? | ? | ? |
| OperaGX | ? | ? | ? | ? |
| Vivaldi | ? | ? | ? | ? |
| Yandex | ? | ? | ? | ? |
| CocCoc | ? | ? | ? | ? |
| Firefox | ? | ? | ? | ? |
| Firefox Beta | ? | ? | ? | ? |
| Firefox Dev | ? | ? | ? | ? |
| Firefox ESR | ? | ? | ? | ? |
| Firefox Nightly | ? | ? | ? | ? |
| IE 瀏覽器 | ? | ? | ? | ? |
MacOS
由于 MacOS 的安全性設置,基于?Chromium?內核瀏覽器解密時需要當前用戶密碼
| Google Chrome | ? | ? | ? | ? |
| Google Chrome Beta | ? | ? | ? | ? |
| Chromium | ? | ? | ? | ? |
| Microsoft Edge | ? | ? | ? | ? |
| Brave | ? | ? | ? | ? |
| Opera | ? | ? | ? | ? |
| OperaGX | ? | ? | ? | ? |
| Vivaldi | ? | ? | ? | ? |
| Yandex | ? | ? | ? | ? |
| CocCoc | ? | ? | ? | ? |
| Firefox | ? | ? | ? | ? |
| Firefox Beta | ? | ? | ? | ? |
| Firefox Dev | ? | ? | ? | ? |
| Firefox ESR | ? | ? | ? | ? |
| Firefox Nightly | ? | ? | ? | ? |
| Safari | ? | ? | ? | ? |
Linux
| Google Chrome | ? | ? | ? | ? |
| Google Chrome Beta | ? | ? | ? | ? |
| Chromium | ? | ? | ? | ? |
| Microsoft Edge | ? | ? | ? | ? |
| Brave | ? | ? | ? | ? |
| Opera | ? | ? | ? | ? |
| Vivaldi | ? | ? | ? | ? |
| Chromium | ? | ? | ? | ? |
| Firefox | ? | ? | ? | ? |
| Firefox Beta | ? | ? | ? | ? |
| Firefox Dev | ? | ? | ? | ? |
| Firefox ESR | ? | ? | ? | ? |
| Firefox Nightly | ? | ? | ? | ? |
安裝運行
安裝
可下載已編譯好,可直接運行的?二進制文件
某些情況下,這款安全工具會被 Windows Defender 或其他殺毒軟件當作病毒導致無法執行。代碼已經全部開源,可自行編譯。
從源碼編譯
僅支持?go 1.18+?以后版本,一些函數使用到了泛型
$ git clone https://github.com/moonD4rk/HackBrowserData$ cd HackBrowserData/cmd/hack-browser-data$ CGO_ENABLED=1 go build跨平臺編譯
由于用到了?go-sqlite3?庫,在跨平臺編譯時需提前安裝支持目標平臺的?GCC?工具,下面以?MacOS?下分別編譯?Windows?和?Linux?程序為例:
Windows
brew install mingw-w64CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go buildLinux
brew install FiloSottile/musl-cross/musl-crossCC=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 browserUSAGE:[hack-browser-data -b chrome -f json -dir results -cc]Export all browingdata(password/cookie/history/bookmark) from browserGithub Link: https://github.com/moonD4rk/HackBrowserDataVERSION:0.4.3GLOBAL OPTIONS:--verbose, --vv verbose (default: false)--compress, --zip compress result to zip (default: false)--browser value, -b value available browsers: all|chrome|opera-gx|vivaldi|coccoc|brave|edge|chromium|chrome-beta|opera|yandex|firefox (default: "all")--results-dir value, --dir value export dir (default: "results")--format value, -f value file name csv|json (default: "csv")--profile-path value, -p value custom profile dir path, get with chrome://version--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 -zip [NOTICE] [browser.go:46,pickChromium] find browser Chrome success [NOTICE] [browser.go:46,pickChromium] find browser Microsoft Edge success [NOTICE] [browsingdata.go:59,Output] output to file results/microsoft_edge_download.json success [NOTICE] [browsingdata.go:59,Output] output to file results/microsoft_edge_password.json success [NOTICE] [browsingdata.go:59,Output] output to file results/microsoft_edge_creditcard.json success [NOTICE] [browsingdata.go:59,Output] output to file results/microsoft_edge_bookmark.json success [NOTICE] [browsingdata.go:59,Output] output to file results/microsoft_edge_cookie.json success [NOTICE] [browsingdata.go:59,Output] output to file results/microsoft_edge_history.json success [NOTICE] [browsingdata.go:59,Output] output to file results/chrome_history.json success [NOTICE] [browsingdata.go:59,Output] output to file results/chrome_download.json success [NOTICE] [browsingdata.go:59,Output] output to file results/chrome_password.json success [NOTICE] [browsingdata.go:59,Output] output to file results/chrome_creditcard.json success [NOTICE] [browsingdata.go:59,Output] output to file results/chrome_bookmark.json success [NOTICE] [browsingdata.go:59,Output] output to file results/chrome_cookie.json success?輸出結果:
輸出結果的文件在當前工具的同目錄的results文件夾下面
總結
以上是生活随笔為你收集整理的【渗透工具】浏览器数据导出工具的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Unity案例-实现心电图效果
- 下一篇: python 如何调试uc浏览器_Pyt