mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
Names say what each thing is: no package stutter, one word per concept, spelled out, none that differ only in case. The browser table puts one field per line. Wire names (flags, output fields, keys.json) are unchanged.
280 lines
7.5 KiB
Go
280 lines
7.5 KiB
Go
package browser
|
|
|
|
import "github.com/moond4rk/hackbrowserdata/internal/masterkey"
|
|
|
|
// browsers is in discovery order, which is also the order records reach the output files.
|
|
var browsers = []Browser{
|
|
{
|
|
Name: "chrome",
|
|
DisplayName: "Chrome",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Google/Chrome"},
|
|
SecretLabel: "Chrome",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/google-chrome"},
|
|
SecretLabel: "Chrome Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Google/Chrome/User Data"},
|
|
Executable: "chrome.exe",
|
|
ExecutableFallbacks: []string{
|
|
`%ProgramFiles%\Google\Chrome\Application\chrome.exe`,
|
|
`%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe`,
|
|
`%LocalAppData%\Google\Chrome\Application\chrome.exe`,
|
|
},
|
|
ABE: masterkey.ABEChromeBase,
|
|
},
|
|
},
|
|
{
|
|
Name: "edge",
|
|
DisplayName: "Microsoft Edge",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Microsoft Edge"},
|
|
SecretLabel: "Microsoft Edge",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/microsoft-edge"},
|
|
SecretLabel: "Chromium Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Microsoft/Edge/User Data"},
|
|
Executable: "msedge.exe",
|
|
ExecutableFallbacks: []string{
|
|
`%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe`,
|
|
`%ProgramFiles%\Microsoft\Edge\Application\msedge.exe`,
|
|
},
|
|
ABE: masterkey.ABEEdge,
|
|
},
|
|
},
|
|
{
|
|
Name: "chromium",
|
|
DisplayName: "Chromium",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Chromium"},
|
|
SecretLabel: "Chromium",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/chromium"},
|
|
SecretLabel: "Chromium Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Chromium/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "chrome-beta",
|
|
DisplayName: "Chrome Beta",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Google/Chrome Beta"},
|
|
SecretLabel: "Chrome",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/google-chrome-beta"},
|
|
SecretLabel: "Chrome Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Google/Chrome Beta/User Data"},
|
|
Executable: "chrome.exe",
|
|
ExecutableFallbacks: []string{
|
|
`%ProgramFiles%\Google\Chrome Beta\Application\chrome.exe`,
|
|
`%ProgramFiles(x86)%\Google\Chrome Beta\Application\chrome.exe`,
|
|
`%LocalAppData%\Google\Chrome Beta\Application\chrome.exe`,
|
|
},
|
|
ABE: masterkey.ABEChromeBase,
|
|
},
|
|
},
|
|
{
|
|
Name: "opera",
|
|
DisplayName: "Opera",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/com.operasoftware.Opera"},
|
|
SecretLabel: "Opera",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/opera"},
|
|
SecretLabel: "Chromium Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Roaming/Opera Software/Opera Stable"},
|
|
},
|
|
},
|
|
{
|
|
Name: "opera-gx",
|
|
DisplayName: "OperaGX",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/com.operasoftware.OperaGX"},
|
|
SecretLabel: "Opera",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Roaming/Opera Software/Opera GX Stable"},
|
|
},
|
|
},
|
|
{
|
|
Name: "vought",
|
|
DisplayName: "Browser from Vought",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Roaming/Browser from Vought"},
|
|
},
|
|
},
|
|
{
|
|
Name: "vivaldi",
|
|
DisplayName: "Vivaldi",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Vivaldi"},
|
|
SecretLabel: "Vivaldi",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/vivaldi"},
|
|
SecretLabel: "Chrome Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Vivaldi/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "coccoc",
|
|
DisplayName: "CocCoc",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Coccoc"},
|
|
SecretLabel: "CocCoc",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/CocCoc/Browser/User Data"},
|
|
Executable: "browser.exe",
|
|
ExecutableFallbacks: []string{
|
|
`%ProgramFiles%\CocCoc\Browser\Application\browser.exe`,
|
|
`%ProgramFiles(x86)%\CocCoc\Browser\Application\browser.exe`,
|
|
`%LocalAppData%\CocCoc\Browser\Application\browser.exe`,
|
|
},
|
|
ABE: masterkey.ABEChromeBase,
|
|
},
|
|
},
|
|
{
|
|
Name: "brave",
|
|
DisplayName: "Brave",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/BraveSoftware/Brave-Browser"},
|
|
SecretLabel: "Brave",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".config/BraveSoftware/Brave-Browser"},
|
|
SecretLabel: "Brave Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/BraveSoftware/Brave-Browser/User Data"},
|
|
Executable: "brave.exe",
|
|
ExecutableFallbacks: []string{
|
|
`%ProgramFiles%\BraveSoftware\Brave-Browser\Application\brave.exe`,
|
|
`%ProgramFiles(x86)%\BraveSoftware\Brave-Browser\Application\brave.exe`,
|
|
`%LocalAppData%\BraveSoftware\Brave-Browser\Application\brave.exe`,
|
|
},
|
|
ABE: masterkey.ABEChromeBase,
|
|
},
|
|
},
|
|
{
|
|
Name: "yandex",
|
|
DisplayName: "Yandex",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Yandex/YandexBrowser"},
|
|
SecretLabel: "Yandex",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Yandex/YandexBrowser/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "360x",
|
|
DisplayName: "360 Speed X",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/360ChromeX/Chrome/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "360",
|
|
DisplayName: "360 Speed",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/360chrome/Chrome/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "qq",
|
|
DisplayName: "QQ",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Tencent/QQBrowser/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "dc",
|
|
DisplayName: "DC",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/DCBrowser/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "sogou",
|
|
DisplayName: "Sogou",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Sogou/SogouExplorer/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "arc",
|
|
DisplayName: "Arc",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Arc/User Data"},
|
|
SecretLabel: "Arc",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Packages/TheBrowserCompany.Arc_*/LocalCache/Local/Arc/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "duckduckgo",
|
|
DisplayName: "DuckDuckGo",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Local/Packages/DuckDuckGo.DesktopBrowser_*/LocalState/EBWebView"},
|
|
},
|
|
},
|
|
{
|
|
Name: "firefox",
|
|
DisplayName: "Firefox",
|
|
Base: Firefox,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Application Support/Firefox/Profiles"},
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirs: []string{".mozilla/firefox"},
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirs: []string{"AppData/Roaming/Mozilla/Firefox/Profiles"},
|
|
},
|
|
},
|
|
{
|
|
Name: "safari",
|
|
DisplayName: "Safari",
|
|
Base: Safari,
|
|
Darwin: Platform{
|
|
UserDataDirs: []string{"Library/Safari"},
|
|
},
|
|
},
|
|
}
|