Documentation
¶
Index ¶
- type Browser
- func (b *Browser) BrowserName() string
- func (b *Browser) CountEntries(categories []types.Category) (map[types.Category]int, error)
- func (b *Browser) Extract(categories []types.Category) (*types.BrowserData, error)
- func (b *Browser) ProfileDir() string
- func (b *Browser) ProfileName() string
- func (b *Browser) SetKeyRetrievers(r keyretriever.Retrievers)
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 represents a single Chromium profile ready for extraction.
func NewBrowsers ¶ added in v0.5.0
func NewBrowsers(cfg types.BrowserConfig) ([]*Browser, error)
NewBrowsers discovers Chromium profiles under cfg.UserDataDir and returns one Browser per profile. Call SetKeyRetrievers on each returned browser before Extract to enable decryption of sensitive data (passwords, cookies, etc.).
func (*Browser) BrowserName ¶ added in v0.5.0
func (*Browser) CountEntries ¶ added in v0.5.0
CountEntries copies browser files to a temp directory and counts entries per category without decryption. Much faster than Extract for display-only use cases like "list --detail".
func (*Browser) Extract ¶ added in v0.5.0
Extract copies browser files to a temp directory, retrieves the master key, and extracts data for the requested categories.
func (*Browser) ProfileDir ¶ added in v0.5.0
func (*Browser) ProfileName ¶ added in v0.5.0
func (*Browser) SetKeyRetrievers ¶ added in v0.5.0
func (b *Browser) SetKeyRetrievers(r keyretriever.Retrievers)
SetKeyRetrievers wires the per-tier master-key retrievers (V10/V11/V20) used by Extract; unused tiers stay nil.