diff --git a/README.md b/README.md index 56ecd86..2593624 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_ZH.md b/README_ZH.md index 2272b59..8617fe3 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -49,6 +49,7 @@ hack-browser-data 是一个解密浏览器数据(密码|历史记录|Cookies| | Brave 浏览器 | ✅ | ✅ | ✅ | ✅ | | Opera Browser | ✅ | ✅ | ✅ | ✅ | | Vivaldi Browser | ✅ | ✅ | ✅ | ✅ | +| Chromium | ✅ | ✅ | ✅ | ✅ | ### 安装运行 diff --git a/core/browser.go b/core/browser.go index 656fb94..23ff152 100644 --- a/core/browser.go +++ b/core/browser.go @@ -14,6 +14,7 @@ import ( const ( chromeName = "Chrome" chromeBetaName = "Chrome Beta" + chromiumName = "Chromium" edgeName = "Microsoft Edge" firefoxName = "Firefox" speed360Name = "360speed" diff --git a/core/browser_linux.go b/core/browser_linux.go index 4fb3208..a8a54eb 100644 --- a/core/browser_linux.go +++ b/core/browser_linux.go @@ -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,