Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

finding passwords in Mozilla files

  • 7 replies
  • 13 have this problem
  • Last reply by Digitalmind

more options

I found today and then lost instruction as to HOW to recover passwords from a file in the Documents and settings/mozilla folder. But cannot now find the answer. Anyone able to point me in the right direction please as I have found an OLD backup of the Documents folder and all the files therein.

All Replies (7)

more options
more options

Erm, MANY thanks for the reply! But that ended up about a foot above my head I'm afraid! ;-)

Any chance of a reply in plain idiots language please?? Chris

more options

You need to place signons.sqlite and key3.db from that backup in the Firefox Profile Folder The file key3.db stores the encryption key and Firefox can't decrypt the names and passwords in signons.sqlite without the correct key3.db file.


more options

So simply drag them across? If this is so then thanks for your aid and have a good weekend! But above all thank you for your help!

Chris Goddard

more options

Yes, you can simply drag the two mentioned files into the Firefox Profile Folder

more options

Thanks very much again!


more options


It is so simple go to > Tools > Error console....copy and paste the below code into code bar and press Evaluate....that's it all done

var Cc = Components.classes;
var Ci = Components.interfaces;"UniversalXPConnect");
var tokendb = Cc[";1"]
var token = tokendb.getInternalKeyToken();

try { token.login(true);} catch (e) { }

if (token.isLoggedIn()) {
 var passwordmanager = Cc[";1"]
 var signons = passwordmanager.getAllLogins({});

 for (i=0;i<signons.length;i++) {
  try {
   var host = signons[i].hostname;
   var realm = signons[i].httpRealm;
   var user = signons[i].username;
   var userf = signons[i].usernameField;
   var password = signons[i].password;
   var passwordf = signons[i].passwordField;
   var submiturl = signons[i].formSubmitURL;
   } catch(e) {}

 var json =Cc[";1"]

 var fp=Cc[";1"]

 if ( == fp.returnCancel) return;

 var filoutputStream=Cc[";1"]



Modified by cor-el