Merge pull request #59 from camandel/add_chromium_linux

Add support for Chromium (Linux)
This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2021-01-29 11:46:51 +08:00
committed by GitHub
4 changed files with 11 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ Based on Apple's security policy, some browsers **require a current user passwor
| Brave Browser | ✅ | ✅ | ✅ | ✅ |
| Opera Browser | ✅ | ✅ | ✅ | ✅ |
| Vivaldi Browser | ✅ | ✅ | ✅ | ✅ |
| Chromium | ✅ | ✅ | ✅ | ✅ |
### Install
+1
View File
@@ -49,6 +49,7 @@ hack-browser-data 是一个解密浏览器数据(密码|历史记录|Cookies|
| Brave 浏览器 | ✅ | ✅ | ✅ | ✅ |
| Opera Browser | ✅ | ✅ | ✅ | ✅ |
| Vivaldi Browser | ✅ | ✅ | ✅ | ✅ |
| Chromium | ✅ | ✅ | ✅ | ✅ |
### 安装运行
+1
View File
@@ -14,6 +14,7 @@ import (
const (
chromeName = "Chrome"
chromeBetaName = "Chrome Beta"
chromiumName = "Chromium"
edgeName = "Microsoft Edge"
firefoxName = "Firefox"
speed360Name = "360speed"
+8
View File
@@ -13,6 +13,7 @@ import (
const (
fireFoxProfilePath = "/home/*/.mozilla/firefox/*.default-release/"
chromeProfilePath = "/home/*/.config/google-chrome/*/"
chromiumProfilePath = "/home/*/.config/chromium/*/"
edgeProfilePath = "/home/*/.config/microsoft-edge*/*/"
braveProfilePath = "/home/*/.config/BraveSoftware/Brave-Browser/*/"
chromeBetaProfilePath = "/home/*/.config/google-chrome-beta/*/"
@@ -22,6 +23,7 @@ const (
const (
chromeStorageName = "Chrome Safe Storage"
chromiumStorageName = "Chromium Safe Storage"
edgeStorageName = "Chromium Safe Storage"
braveStorageName = "Brave Safe Storage"
chromeBetaStorageName = "Chrome Safe Storage"
@@ -66,6 +68,12 @@ var (
Storage: chromeBetaStorageName,
New: NewChromium,
},
"chromium": {
ProfilePath: chromiumProfilePath,
Name: chromiumName,
Storage: chromiumStorageName,
New: NewChromium,
},
"opera": {
ProfilePath: operaProfilePath,
Name: operaName,