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

Struct Browser

browser/safari/safari.go:13–17  ·  view source on GitHub ↗

Browser is one Safari installation, holding the default profile and any named profiles. Passwords come from the shared macOS Keychain; the login password is set on the installation and threaded to each profile at extract time.

Source from the content-addressed store, hash-verified

11// profiles. Passwords come from the shared macOS Keychain; the login password is
12// set on the installation and threaded to each profile at extract time.
13type Browser struct {
14 cfg types.BrowserConfig
15 keychainPassword string
16 profiles []*profile
17}
18
19// SetKeychainPassword sets the macOS login password used to unlock the Keychain.
20func (b *Browser) SetKeychainPassword(password string) { b.keychainPassword = password }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected