mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
feat(chromium): extract passwords from the account-synced store (#637)
Chromium keeps account-synced credentials in a separate "Login Data For Account" DB. Entries carry a Store field because the same credential can legitimately exist in both stores.
This commit is contained in:
1 parent
9624e50a4f
commit
d2b2955d6c
12 files changed
+245
-16
No files matched your search
@@ -2,12 +2,21 @@ package types
|
||||
|
||||
import "time"
|
||||
|
||||
// Chromium keeps profile-local credentials in "Login Data" and account-synced ones in
|
||||
// "Login Data For Account". The same credential may exist in both, so exported entries
|
||||
// carry their origin instead of being silently merged.
|
||||
const (
|
||||
PasswordStoreLocal = "local"
|
||||
PasswordStoreAccount = "account"
|
||||
)
|
||||
|
||||
// LoginEntry represents a single saved login credential.
|
||||
type LoginEntry struct {
|
||||
URL string `json:"url" csv:"url"`
|
||||
Username string `json:"username" csv:"username"`
|
||||
Password string `json:"password" csv:"password"`
|
||||
CreatedAt time.Time `json:"created_at" csv:"created_at"`
|
||||
Store string `json:"store" csv:"store"`
|
||||
}
|
||||
|
||||
// CookieEntry represents a single browser cookie.
|
||||
|
||||
Reference in new issue
Block a user