Luke Ross

Scripts

git clone https://lukeross.name/projects/scripts.git/

Small scripts

Commit 649d05c07db11a57249e7a29acb84119c7b9ac18

New script for Firefox-wrangling.

Committed 10 May 2020 by Luke Ross

ExtractFirefoxPasswords/README

@@ -0,0 +1,10 @@
+extract_firefox_passwords
+=========================
+
+```
+extract_firefox_passwords.sh profile_directory master_password
+```
+
+Requires `jq` and `pwdecrypt` (in linbss3-utils).  If you have not set a master password, use the empty string.
+
+This is based on the examples at <https://blog.tajuma.com/?p=35>.


ExtractFirefoxPasswords/extract_firefox_passwords.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+jq -r -S '.logins[] | .hostname, .encryptedUsername, .encryptedPassword' $1/logins.json | pwdecrypt -d $1 -p "$2"