MCPcopy
hub / github.com/moonD4rk/HackBrowserData / Browser

Struct Browser

browser/chromium/chromium.go:18–25  ·  view source on GitHub ↗

Browser is one Chromium installation: a single UserDataDir holding profiles that share a master key. The key is derived once and reused across profiles.

Source from the content-addressed store, hash-verified

16// Browser is one Chromium installation: a single UserDataDir holding profiles
17// that share a master key. The key is derived once and reused across profiles.
18type Browser struct {
19 cfg types.BrowserConfig
20 retrievers masterkey.Retrievers
21 profiles []*profile
22
23 keysOnce sync.Once
24 keys masterkey.MasterKeys
25}
26
27// NewBrowser discovers the profiles under cfg.UserDataDir, or returns nil if none resolve.
28// Call SetRetrievers before Extract to enable decryption.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected