Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶ added in v0.5.0
type Browser struct {
// contains filtered or unexported fields
}
Browser is one Firefox installation: the Profiles directory holding one or more profiles. Firefox keys are per-profile (each profile's key4.db), so the installation does not implement KeyManager.
func NewBrowser ¶ added in v1.1.0
func NewBrowser(cfg types.BrowserConfig) (*Browser, error)
NewBrowser discovers the Firefox profiles under cfg.UserDataDir and returns the installation, or nil if no profile with resolvable sources exists. Firefox profile directories have random names (e.g. "97nszz88.default-release"); any subdirectory containing known data files is treated as a valid profile.
func (*Browser) BrowserName ¶ added in v0.5.0
func (*Browser) CountEntries ¶ added in v0.5.0
CountEntries counts entries per category for every profile without decryption.
func (*Browser) Extract ¶ added in v0.5.0
Extract extracts every profile, deriving each profile's key independently.
func (*Browser) Profiles ¶ added in v1.1.0
Profiles returns the identity of every profile in this installation.