lclevy / firepwd

firepwd.py, an open source tool to decrypt Mozilla protected passwords
GNU General Public License v2.0
590 stars 113 forks source link

UnboundLocalError: local variable 'key' referenced before assignment #5

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi, I receive this error if use following command with firefox password store files in mozill_db/ folder.

C:\Users\Ashwini\Downloads\firepwd-master>python firepwd.py -p 'MISC*' -d mozilla_db/ SEQUENCE { SEQUENCE { OBJECTIDENTIFIER 1.2.840.113549.1.12.5.1.3 SEQUENCE { OCTETSTRING 1df64af83c0f3b9f518236de7486cea09f0bee1c INTEGER 01 } } OCTETSTRING abab8fbfac3205b93f1a7e306e414aa7 } password check? False Traceback (most recent call last): File "firepwd.py", line 297, in key = getKey() File "firepwd.py", line 289, in getKey return key[:24] UnboundLocalError: local variable 'key' referenced before assignment

Why do I get this error?

lclevy commented 6 years ago

It seems the password given in argument 'MISC*' is incorrect

lclevy commented 6 years ago

Is your data protected by a master password ?

ghost commented 6 years ago

Data is not protected by master password.

ghost commented 6 years ago

It is working. Thank you.