搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox logins & passwords

  • 10 回覆
  • 1 有這個問題
  • 41 次檢視
  • 最近回覆由 FredMcD

more options

Hey, All of the saved logins and passwords are gone while the bookmarks remain.

I noticed that logins and passwords disappeared after the computer turned off unexpectedly due to low battery and unstable power connection couple times in a few minute interval.

How do I get back logins and passwords?

所有回覆 (10)

more options

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Help -> More Troubleshooting Information -> Profile Folder/Directory: Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).

有幫助嗎?

more options

Go to your local department/electronics store and look around for a UPS (Uninterruptible Power Supply) that is useful for you. The lowest price is $50 +. There are also units on the market that plug into the computer. So, if the battery gets low, it will shut down the computer to protect it.

Note: Sudden power loss can damage or destroy a hard drive's data.

有幫助嗎?

more options

FredMcD said

Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json. Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)

Yes, I have: logins.json logins-backup.json logins-json.corrupt

The largest one is logins-json.corrupt and the date when it was previously modified is when the initial problem occured.

I think logins-json.corrupt has all the information of logins and passwords. What should I do with it?

由 hoops1 於 修改

有幫助嗎?

more options

hoops1 said

Yes, I have: logins.json logins-backup.json logins-json.corrupt

What is the size of each of those files?

有幫助嗎?

more options

FredMcD said

hoops1 said

Yes, I have: logins.json logins-backup.json logins-json.corrupt

What is the size of each of those files?

logins.json - 1.84 KB logins-backup.json - 1.84 KB logins-json.corrupt - 26.7 KB

有幫助嗎?

more options

Lets try; rename logins.json to logins.json.old and logins-json.corrupt to logins.json


then use one of these;

https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer

Note: Some anti-virus show false positive. +++++++++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter

Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ +++++++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter

有幫助嗎?

more options

Do not try to start Firefox yet.

Move these files to a safe location; all of the logins and the key3 and key4 files

Then start Firefox. After, try importing the password files you created from my previous post.

有幫助嗎?

more options

Hi, After doing it, all I got was one login and password - the one I saved after losing all of the passwords.

Are there any other moves I can do?

有幫助嗎?

more options

I think all of the logins and passwords are stored in logins-json.corrupt file (26.7 KB) , maybe there's a way how I can decrypt the information? I could use logins and passwords that are manually accessible.

有幫助嗎?

more options

I called for more help.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題