Skip to content

Instantly share code, notes, and snippets.

@ravibhure
Created October 30, 2017 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravibhure/77815d8545911d958f38fad61cf0a697 to your computer and use it in GitHub Desktop.
Save ravibhure/77815d8545911d958f38fad61cf0a697 to your computer and use it in GitHub Desktop.
List all passwords from Firefox database
  1. copy your mozilla firefox profile from %APPDATA%\Mozilla\Firefox\Profiles\*.default on Windows machine to any ubuntu

$ scp -P 2223 -r *.default ravi@127.0.0.1:/tmp/

  1. Follow the steps below to extract the password for users and sitename
$ cd /tmp/*.default
$ sudo apt-get -y install sqlite nss-passwords
$ cat logins.json | jq ".logins[].hostname" | uniq | xargs nss-passwords -d .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment