fix: modify firefox asn1 data struct

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-20 02:14:18 +08:00
parent 8c2f72ccb6
commit 4fe335c270
7 changed files with 69 additions and 64 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func (c *ChromiumCookie) Parse(masterKey []byte) error {
if masterKey == nil {
value, err = decrypter.DPApi(encryptValue)
} else {
value, err = decrypter.ChromePass(masterKey, encryptValue)
value, err = decrypter.Chromium(masterKey, encryptValue)
}
if err != nil {
log.Error(err)
@@ -61,7 +61,7 @@ func (c *ChromiumCreditCard) Parse(masterKey []byte) error {
return err
}
} else {
value, err = decrypter.ChromePass(masterKey, encryptValue)
value, err = decrypter.Chromium(masterKey, encryptValue)
if err != nil {
return err
}
@@ -112,7 +112,7 @@ func (c *YandexCreditCard) Parse(masterKey []byte) error {
return err
}
} else {
value, err = decrypter.ChromePassForYandex(masterKey, encryptValue)
value, err = decrypter.Chromium(masterKey, encryptValue)
if err != nil {
return err
}
+2 -2
View File
@@ -65,7 +65,7 @@ func (c *ChromiumPassword) Parse(masterKey []byte) error {
if masterKey == nil {
password, err = decrypter.DPApi(pwd)
} else {
password, err = decrypter.ChromePass(masterKey, pwd)
password, err = decrypter.Chromium(masterKey, pwd)
}
if err != nil {
log.Error(err)
@@ -129,7 +129,7 @@ func (c *YandexPassword) Parse(masterKey []byte) error {
if masterKey == nil {
password, err = decrypter.DPApi(pwd)
} else {
password, err = decrypter.ChromePassForYandex(masterKey, pwd)
password, err = decrypter.Chromium(masterKey, pwd)
}
if err != nil {
log.Errorf("decrypt yandex password error %s", err)