@ -1,14 +1,30 @@
# HackBrowserData
一款支持全平台(Windows | MacOS | Linux)的浏览器数据(Password | History | Bookmark | Cookie)导出工具
hack-browser-data is an open-source tool that could help you export data from browser. It supports the most popular browsers on the market and runs on W indows and macOS.
### Supported Browser
### 安装编译
你可以选择下载编译好的[二进制文件](https://github.com/moonD4rk/HackBrowserData/releases)
也可以通过源码手动编译
| Browser | Password | Cookie | Bookmark | History |
| :---------------------------------- | :------: | :----: | :------: | :-----: |
| Chrome < = 80 [Windows] | ✅ | ✅ | ✅ | ✅ |
| Chrome > 80 [Windows] | ✅ | ✅ | ✅ | ✅ |
| Chrome [MacOS]< br / > (require password) | ✅ | ✅ | ✅ | ✅ |
| Edge [Windows] | ✅ | ✅ | ✅ | ✅ |
| Edge [MacOS]< br / > (require password) | ✅ | ✅ | ✅ | ✅ |
| 360 Speed Browser [Windows] | ✅ | ✅ | ✅ | ✅ |
| QQ Browser [Windows] | ✅ | ✅ | ✅ | ✅ |
| FireFox [Windows] | ❌ | ❌ | ❌ | ❌ |
| FireFox [MacOS] | ❌ | ❌ | ❌ | ❌ |
| Safari [MacOS] | ❌ | ❌ | ❌ | ❌ |
| Internet Explorer [Windows] | ❌ | ❌ | ❌ | ❌ |
| 360 Secure Browser [Windows] | ❌ | ❌ | ❌ | ❌ |
| Chrome [Linux] | ❌ | ❌ | ❌ | ❌ |
### Install
Installation of hack-browser-data is dead-simple, just download [the release for your system ](https://github.com/moonD4rk/HackBrowserData/releases ) and run the binary.
#### Building from source
```bash
git clone https://github.com/moonD4rk/HackBrowserData
@ -18,12 +34,12 @@ cd HackBrowserData && go mod tidy
go build
```
### 运行
#### Run
```shell
./hack-browser-data -h
✗ .\hack-browser-data.exe -h
NAME:
hack-browser-data - Ge t passwords/cookies/history/bookmarks from browser
hack-browser-data - Expor t passwords/cookies/history/bookmarks from browser
USAGE:
[hack-browser-data -b chrome -f json -dir results -e all]
@ -31,44 +47,27 @@ USAGE:
GLOBAL OPTIONS:
--verbose, --vv verbose (default: false)
--browser value, -b value available browsers: edge| chrome (default: "chrome")
--results-dir value, --dir value e xport dir (default: "results")
--browser value, -b value available browsers: chrome|edge|360speed|qq (default: "chrome")
--results-dir value, --dir value E xport dir (default: "results")
--format value, -f value result format, csv|json (default: "csv")
--export-data value, -e value all|password|cookie|history|bookmark (default: "all")
--help, -h show help (default: false)
```
```shell
✗ ./hack-browser-data -b chrome -f json -dir results -e all
✗ ./hack-browser-data.exe -b chrome -f json -dir results -e all
[x]: Get 538 bookmarks, filename is results/bookmarks_chrome.json
[x]: Get 1415 cookies, filename is results/cookies_chrome.json
[x]: Get 3 4050 history, filename is results/history_chrome.json
[x]: Get 3 57 login data, filename is results/login_data_chrome.json
[x]: Get 1610 cookies, filename is results/cookies_chrome.json
[x]: Get 4 4050 history, filename is results/history_chrome.json
[x]: Get 4 57 login data, filename is results/login_data_chrome.json
```
### 目前支持平台
| Browser | Password | Cookie | Bookmark | History |
| :---------------------------------- | :------: | :----: | :------: | :-----: |
| Chrome version < = 80 [Windows] | ✔ | ✔ | ✔ | ✔ |
| Chrome version > 80 [Windows] | ✔ | ✔ | ✔ | ✔ |
| Chrome [MacOS]< br / > (require password) | ✔ | ✔ | ✔ | ✔ |
| Edge [Windows] | ✔ | ✔ | ✔ | ✔ |
| Edge [MacOS]< br / > (require password) | ✔ | ✔ | ✔ | ✔ |
| 360 Speed Browser [Windows] | ✔ | ✔ | ✔ | ✔ |
| QQ Browser [Windows] | ✔ | ✔ | ✔ | ✔ |
| FireFox [Windows] | ✖ | ✖ | ✖ | ✖ |
| FireFox [MacOS] | ✖ | ✖ | ✖ | ✖ |
| Safari [MacOS] | ✖ | ✖ | ✖ | ✖ |
| Internet Explorer [Windows] | ✖ | ✖ | ✖ | ✖ |
| 360 Secure Browser [Windows] | ✖ | ✖ | ✖ | ✖ |
| Chrome [Linux] | ✖ | ✖ | ✖ | ✖ |
### Todo List
### TODO
[Desktop Browser Market Share Worldwide ](https://gs.statcounter.com/browser-market-share/desktop/worldwide )
@ -82,7 +81,7 @@ GLOBAL OPTIONS:
| :----- | :------: | :-----: | :--------: | :---: | :------------: |
| 39.85% | 22.26% | 9.28% | 6.5% | 5.65% | 4.74% |
Based on those two lists, I would support those browsers in the future
- [x] Chrome
- [x] QQ browser