mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
fix: find chromium key failed on windows
This commit is contained in:
@@ -112,7 +112,7 @@ func (c *YandexCreditCard) Parse(masterKey []byte) error {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
value, err = decrypter.ChromePass(masterKey, encryptValue)
|
||||
value, err = decrypter.ChromePassForYandex(masterKey, encryptValue)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -129,10 +129,10 @@ func (c *YandexPassword) Parse(masterKey []byte) error {
|
||||
if masterKey == nil {
|
||||
password, err = decrypter.DPApi(pwd)
|
||||
} else {
|
||||
password, err = decrypter.ChromePass(masterKey, pwd)
|
||||
password, err = decrypter.ChromePassForYandex(masterKey, pwd)
|
||||
}
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
log.Errorf("decrypt yandex password error %s", err)
|
||||
}
|
||||
}
|
||||
if create > time.Now().Unix() {
|
||||
|
||||
Reference in New Issue
Block a user