moonD4rk / HackBrowserData

Extract and decrypt browser data, supporting multiple data types, runnable on various operating systems (macOS, Windows, Linux).
MIT License
11.2k stars 1.57k forks source link

Feature Request: Handle the Firefox masterkey in the same way as initializing chromium. #297

Closed moonD4rk closed 10 months ago

moonD4rk commented 10 months ago

Feature Description

// GetMasterKey returns the master key of the Firefox browser.
func (f *Firefox) GetMasterKey() ([]byte, error) {
    return f.masterKey, nil
}

In fact, the master key used by Firefox for encryption and decryption is stored in the key4.db file. It can be initialized using the same method instead of initializing it when exporting passwords.

Why is this feature needed?

Enhance code consistency and readability.

Checklist

Screenshots/Videos

If applicable, add screenshots or videos to help explain your proposal.

Additional Context

Add any other context or screenshots about the feature request here.

moonD4rk commented 10 months ago

Closed