当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How to recover passwords from logins.json-1.corrupt?

  • 10 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Amelia

more options

I opened Firefox as usually, but passwords are missing, only logins are available. There is also a file called logins.json-1.corrupt in the profile folder.

Renaming it back to logins.json with restarting the computer does not work.

There are no previous versions of these two files available in the system.

Please let me know how I can recover passwords, may be with a special software.

Thank you!

I opened Firefox as usually, but passwords are missing, only logins are available. There is also a file called logins.json-1.corrupt in the profile folder. Renaming it back to logins.json with restarting the computer does not work. There are no previous versions of these two files available in the system. Please let me know how I can recover passwords, may be with a special software. Thank you!

選ばれた解決策

Solved!

I created a new Firefox profile, synced it with my account and then copied logins.json to the old profile (3 steps).

この回答をすべて読む 👍 0

すべての返信 (10)

more options

Is the corrupt file at least valid JSON if you change the file extension to .json and open the file in a Firefox tab ?

This could possibly be a problem with the key file (key4.db) if logins.json-1.corrupt is valid JSON.

Do you possibly have a logins-backup.json in the Firefox profile folder that you could use ?

この投稿は cor-el により に変更されました

more options

I opened up the latest restore point, which is, unfortunately, the only one, and there are logins.json, its backup and key* databases.

I opened logins.json in Firefox, it shows an error message: "SyntaxError: JSON.parse: bad control character in string literal at line 1 column 16385 of the JSON data".

I can view data, but passwords are encrypted, for example: "encryptedUsername":"MDIEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECAb+PALiwWjJBAgcLfGB+eJvpg==","encryptedPassword":"MDoEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECAdwrtjsxUE2BBCrk5JkWVgoByw3KND/AB4j","guid":"{e54aba4d-75dc-4bdd-ba0b-4853d13839b0}","encType":1,"timeCreated":1508138865604,"timeLastUsed":1587111855678,"timePasswordChanged":1508138865604,"timesUsed":45}

この投稿は DVS75 により に変更されました

more options

I opened up the latest restore point, which is, unfortunately, the only one, and there are logins.json, its backup and key* databases.

I opened logins.json in Firefox, it shows an error message: "SyntaxError: JSON.parse: bad control character in string literal at line 1 column 16385 of the JSON data".

I can view file data, but passwords are encrypted, for example: "encryptedUsername":"MDIEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECAb+PALiwWjJBAgcLfGB+eJvpg==","encryptedPassword":"MDoEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECAdwrtjsxUE2BBCrk5JkWVgoByw3KND/AB4j","guid":"{e54aba4d-75dc-4bdd-ba0b-4853d13839b0}","encType":1,"timeCreated":1508138865604,"timeLastUsed":1587111855678,"timePasswordChanged":1508138865604,"timesUsed":45}

この投稿は DVS75 により に変更されました

more options

I opened up the latest restore point, which is, unfortunately, the only one, and there are logins.json, its backup and key* databases.

I opened logins.json in Firefox, it shows an error message: "SyntaxError: JSON.parse: bad control character in string literal at line 1 column 16385 of the JSON data".

I can view file data, but passwords are encrypted, for example: "encryptedUsername":"MDIEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECAb+PALiwWjJBAgcLfGB+eJvpg==","encryptedPassword":"MDoEEPgAAAAAAAAAAAAAAAAAAAEwFAYIKoZIhvcNAwcECAdwrtjsxUE2BBCrk5JkWVgoByw3KND/AB4j","guid":"{e54aba4d-75dc-4bdd-ba0b-4853d13839b0}","encType":1,"timeCreated":1508138865604,"timeLastUsed":1587111855678,"timePasswordChanged":1508138865604,"timesUsed":45}

more options

"SyntaxError: JSON.parse: bad control character in string literal at line 1 column 16385 of the JSON data" that the logins file is corrupted at position 16385.

What is the file size of this logins file as it is possible that the part before the corruption is still useful ?

You can possibly check the raw data tab in the JSON viewer in case the corruption is only affecting a small part and not the remainder of the file.

more options

There is some text and after symbol 16384 (last correct) go spaces, and then garbage symbols.

What can be saved here :)?

この投稿は DVS75 により に変更されました

more options

Hello,

I believe if you remove everything after the "timesUsed":4} (including the comma right after) and add ],"potentiallyVulnerablePasswords":[],"dismissedBreachAlertsByLoginGUID":{},"version":3,"sync":{"lastSync":0,"syncID":""}} it will then be valid json and have the correct ending, but you may need to re-sign in to sync if you use it.

more options

I installed Firefox for Android, signed in with my account, and all my passwords, or at least a whole lot of them, got synced into it from Firefox cloud.

However, I could not export them into a file on the phone.

Please let me know how can I transfer passwords to desktop computer - create a new Firefox profile there?

この投稿は DVS75 により に変更されました

more options

選ばれた解決策

Solved!

I created a new Firefox profile, synced it with my account and then copied logins.json to the old profile (3 steps).

この投稿は DVS75 により に変更されました

more options

Good to hear that you solved it with sync.