mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
fix: decrypt password in firefox
This commit is contained in:
1 parent
2a86bcf1c9
commit
c8bab9db94
2 files changed
+19
-7
No files matched your search
+3
-1
@@ -613,11 +613,13 @@ func (p *passwords) FirefoxParse() error {
|
||||
log.Debug("password-check success")
|
||||
m := bytes.Compare(nssA102, keyLin)
|
||||
if m == 0 {
|
||||
nss, err := decrypt.DecodeNss(nssA11)
|
||||
var nss interface{}
|
||||
nss, err = decrypt.DecodeNss(nssA11)
|
||||
if err != nil {
|
||||
log.Error("decode firefox nssA11 bytes failed", err)
|
||||
return err
|
||||
}
|
||||
|
||||
finallyKey, err := decrypt.Nss(globalSalt, masterPwd, nss)
|
||||
finallyKey = finallyKey[:24]
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user