HackBrowserData/README.md

105 lines
3.9 KiB
Markdown
Raw Normal View History

2020-06-19 12:43:31 +00:00
# HackBrowserData
2020-07-16 03:09:13 +00:00
[English Readme](https://github.com/moonD4rk/HackBrowserData/blob/master/README_EN.md)
2020-06-19 12:43:31 +00:00
2020-07-16 03:09:13 +00:00
hack-browser-data 是一个浏览器数据(密码|历史记录|Cookies|书签)导出工具,支持全平台主流浏览器。
### 各平台浏览器支持情况
2020-06-25 06:36:59 +00:00
2020-07-09 08:49:35 +00:00
#### Windows
2020-07-16 03:09:13 +00:00
| 浏览器 | 密码 | Cookie | 书签 | 历史记录 |
| :--------------------------- | :------: | :----: | :------: | :-----: |
| Google Chrome (全版本) | ✅ | ✅ | ✅ | ✅ |
| Firefox | ✅ | ✅ | ✅ | ✅ |
| Microsoft Edge | ✅ | ✅ | ✅ | ✅ |
| 360 急速浏览器 | ✅ | ✅ | ✅ | ✅ |
| QQ 浏览器 | ✅ | ✅ | ✅ | ✅ |
| IE 浏览器 | ❌ | ❌ | ❌ | ❌ |
2020-07-09 08:49:35 +00:00
#### MacOS
2020-07-16 03:09:13 +00:00
由于 MacOS 的安全性设置,基于 `Chromium` 内核浏览器解密时需要用户密码
2020-07-09 08:49:35 +00:00
2020-07-16 03:09:13 +00:00
| Browser | Password | Cookie | Bookmark | History |
| :--------------------------- | :------: | :----: | :------: | :-----: |
| Google Chrome<br />需要密码 | ✅ | ✅ | ✅ | ✅ |
| Firefox | ✅ | ✅ | ✅ | ✅ |
| Microsoft Edge<br />需要密码 | ✅ | ✅ | ✅ | ✅ |
| Safari | ❌ | ❌ | ❌ | ❌ |
2020-07-09 08:49:35 +00:00
#### Linux
2020-07-16 03:09:13 +00:00
| Browser | Password | Cookie | Bookmark | History |
| :------------ | :------: | :----: | :------: | :-----: |
| Firefox | ✅ | ✅ | ✅ | ✅ |
| Google Chrome | ❌ | ❌ | ❌ | ❌ |
2020-07-09 08:49:35 +00:00
2020-06-30 04:01:00 +00:00
2020-07-16 03:09:13 +00:00
### 安装运行
2020-06-30 04:01:00 +00:00
2020-07-16 03:09:13 +00:00
基于Golang如图方便可以下载我编译好的[二进制文件 ](https://github.com/moonD4rk/HackBrowserData/releases) 就行
2020-06-30 04:01:00 +00:00
2020-07-16 03:09:13 +00:00
#### 自己编译
2020-06-25 06:36:59 +00:00
2020-07-16 03:09:13 +00:00
支持版本 `go 1.11+`
2020-07-10 03:29:03 +00:00
2020-06-25 06:47:46 +00:00
```bash
git clone https://github.com/moonD4rk/HackBrowserData
2020-07-10 03:29:03 +00:00
cd HackBrowserData
go get -v -t -d ./...
2020-06-28 09:30:02 +00:00
go build
2020-06-25 06:47:46 +00:00
```
2020-06-25 06:36:59 +00:00
2020-07-16 03:09:13 +00:00
#### 运行
2020-06-25 06:36:59 +00:00
2020-06-28 13:17:28 +00:00
```shell
2020-07-10 03:29:03 +00:00
PS C:\hack> .\hack.exe -h NAME:
2020-06-30 04:01:00 +00:00
hack-browser-data - Export passwords/cookies/history/bookmarks from browser
2020-06-25 06:36:59 +00:00
2020-06-28 09:30:02 +00:00
USAGE:
[hack-browser-data -b chrome -f json -dir results -e all]
Get all data(password/cookie/history/bookmark) from chrome
2020-06-25 06:36:59 +00:00
GLOBAL OPTIONS:
--verbose, --vv Verbose (default: false)
--browser value, -b value Available browsers: chrome|edge|360speed|qq|firefox (default: "chrome")
--results-dir value, --dir value Export dir (default: "results")
--format value, -f value Format, csv|json (default: "csv")
2020-06-28 09:30:02 +00:00
--export-data value, -e value all|password|cookie|history|bookmark (default: "all")
--help, -h show help (default: false)
2020-06-25 06:36:59 +00:00
2020-07-10 03:29:03 +00:00
PS C:\hack> .\hack.exe -b firefox
[x]: Get 28 bookmarks, filename is results/bookmarks_firefox.csv
[x]: Get 1 login data, filename is results/login_data_firefox.csv
[x]: Get 10 cookies, filename is results/cookies_firefox.csv
[x]: Get 33 login data, filename is results/history_firefox.csv
```
2020-06-30 04:01:00 +00:00
### TODO
2020-06-25 06:36:59 +00:00
[Desktop Browser Market Share Worldwide](https://gs.statcounter.com/browser-market-share/desktop/worldwide)
2020-07-16 03:09:13 +00:00
| Chrome | Safari | Firefox | Edge Legacy | IE | Other |
| :----: | :----: | :-----: | :---------: | :--: | :---: |
| 68.33% | 9.4% | 8.91% | 4.41% | 3% | 3% |
2020-06-25 06:36:59 +00:00
[Desktop Browser Market Share China](https://gs.statcounter.com/browser-market-share/desktop/china)
| Chrome | 360 Safe | Firefox | QQ Browser | IE | Sogou Explorer |
| :----- | :------: | :-----: | :--------: | :---: | :------------: |
2020-06-25 20:33:23 +00:00
| 39.85% | 22.26% | 9.28% | 6.5% | 5.65% | 4.74% |
2020-06-25 06:36:59 +00:00
2020-06-30 04:01:00 +00:00
2020-06-25 06:47:46 +00:00
- [x] Chrome
2020-06-28 13:17:28 +00:00
- [x] QQ browser
- [x] Edge
2020-06-29 07:18:41 +00:00
- [x] 360 speed browser
2020-07-10 03:29:03 +00:00
- [x] Firefox
2020-06-25 06:47:46 +00:00
- [ ] Safari
- [ ] IE