Password Recovery from Mozilla/Firefox
The story started when my raid disk crashed early this year. I have lost all the passwords stored on that disk. Fortunately, that disk only contained user data. I have Windows system installed on the main hard-drive. Since I mainly use Mozilla as my primary browser and I am used to let it manage my on-line passwords, I still have the access to major web sites, including my personal web site. Hey, otherwise, I cannot post this blog!
But, still, it is important for me to extract passwords out of Mozilla and backup them a little more properly this time. By searching on-line, it took me less than 5 minutes to find this guide.
The path of Mozilla/Firefox password file is {Profile Root Path/{Profile Name}/{Random String}.slt/{String}.s. Each site block text contains 6 lines:
- Site address containing host and optional port
- Form login input name
- Base64 encoded login name wrapped around by ~ and =
- Form password input name
- Base64 encoded password wrapped around by ~ and =
- A period to end the block