mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
Step 1 of #710. Goldens pin what a run prints before the entry code moves, and the renames follow two naming rules added to RFC-001. No behavior change.
284 lines
7.9 KiB
Go
284 lines
7.9 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{
|
|
UserDataDirPaths: []string{"Library/Application Support/Google/Chrome"},
|
|
SecretLabel: "Chrome",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/google-chrome"},
|
|
SecretLabel: "Chrome Safe Storage",
|
|
PortalAppID: "com.google.Chrome",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []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{
|
|
UserDataDirPaths: []string{"Library/Application Support/Microsoft Edge"},
|
|
SecretLabel: "Microsoft Edge",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/microsoft-edge"},
|
|
SecretLabel: "Chromium Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []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{
|
|
UserDataDirPaths: []string{"Library/Application Support/Chromium"},
|
|
SecretLabel: "Chromium",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/chromium"},
|
|
SecretLabel: "Chromium Safe Storage",
|
|
PortalAppID: "org.chromium.Chromium",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Chromium/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "chrome-beta",
|
|
DisplayName: "Chrome Beta",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Application Support/Google/Chrome Beta"},
|
|
SecretLabel: "Chrome",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/google-chrome-beta"},
|
|
SecretLabel: "Chrome Safe Storage",
|
|
PortalAppID: "com.google.Chrome.beta",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []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{
|
|
UserDataDirPaths: []string{"Library/Application Support/com.operasoftware.Opera"},
|
|
SecretLabel: "Opera",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/opera"},
|
|
SecretLabel: "Chromium Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Roaming/Opera Software/Opera Stable"},
|
|
},
|
|
},
|
|
{
|
|
Name: "opera-gx",
|
|
DisplayName: "OperaGX",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Application Support/com.operasoftware.OperaGX"},
|
|
SecretLabel: "Opera",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Roaming/Opera Software/Opera GX Stable"},
|
|
},
|
|
},
|
|
{
|
|
Name: "vought",
|
|
DisplayName: "Browser from Vought",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Roaming/Browser from Vought"},
|
|
},
|
|
},
|
|
{
|
|
Name: "vivaldi",
|
|
DisplayName: "Vivaldi",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Application Support/Vivaldi"},
|
|
SecretLabel: "Vivaldi",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/vivaldi"},
|
|
SecretLabel: "Chrome Safe Storage",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Vivaldi/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "coccoc",
|
|
DisplayName: "CocCoc",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Application Support/Coccoc"},
|
|
SecretLabel: "CocCoc",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []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{
|
|
UserDataDirPaths: []string{"Library/Application Support/BraveSoftware/Brave-Browser"},
|
|
SecretLabel: "Brave",
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".config/BraveSoftware/Brave-Browser"},
|
|
SecretLabel: "Brave Safe Storage",
|
|
PortalAppID: "com.brave.Browser",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []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{
|
|
UserDataDirPaths: []string{"Library/Application Support/Yandex/YandexBrowser"},
|
|
SecretLabel: "Yandex",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Yandex/YandexBrowser/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "360x",
|
|
DisplayName: "360 Speed X",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/360ChromeX/Chrome/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "360",
|
|
DisplayName: "360 Speed",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/360chrome/Chrome/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "qq",
|
|
DisplayName: "QQ",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Tencent/QQBrowser/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "dc",
|
|
DisplayName: "DC",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/DCBrowser/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "sogou",
|
|
DisplayName: "Sogou",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Sogou/SogouExplorer/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "arc",
|
|
DisplayName: "Arc",
|
|
Base: Chromium,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Application Support/Arc/User Data"},
|
|
SecretLabel: "Arc",
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Packages/TheBrowserCompany.Arc_*/LocalCache/Local/Arc/User Data"},
|
|
},
|
|
},
|
|
{
|
|
Name: "duckduckgo",
|
|
DisplayName: "DuckDuckGo",
|
|
Base: Chromium,
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Local/Packages/DuckDuckGo.DesktopBrowser_*/LocalState/EBWebView"},
|
|
},
|
|
},
|
|
{
|
|
Name: "firefox",
|
|
DisplayName: "Firefox",
|
|
Base: Firefox,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Application Support/Firefox/Profiles"},
|
|
},
|
|
Linux: Platform{
|
|
UserDataDirPaths: []string{".mozilla/firefox"},
|
|
},
|
|
Windows: Platform{
|
|
UserDataDirPaths: []string{"AppData/Roaming/Mozilla/Firefox/Profiles"},
|
|
},
|
|
},
|
|
{
|
|
Name: "safari",
|
|
DisplayName: "Safari",
|
|
Base: Safari,
|
|
Darwin: Platform{
|
|
UserDataDirPaths: []string{"Library/Safari"},
|
|
},
|
|
},
|
|
}
|