From: Nicolas Boisselier Date: Tue, 26 Jul 2016 15:05:00 +0000 (+0100) Subject: bin/firefox_decrypt.py X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=7d3516a37ed7b5319bb037ac493cc3efb3e54d2a;p=nb.git bin/firefox_decrypt.py --- diff --git a/bin/firefox_decrypt.py b/bin/firefox_decrypt.py index f9e99324..4895d72c 100755 --- a/bin/firefox_decrypt.py +++ b/bin/firefox_decrypt.py @@ -334,7 +334,7 @@ class NSSInteraction(object): else: to_export[address.netloc][user] = passw - else: + elif 0: output = ( u"\nWebsite: {0}\n".format(host), u"Username: '{0}'\n".format(user), @@ -345,6 +345,11 @@ class NSSInteraction(object): sys.stdout.write(line) else: sys.stdout.write(line.encode("utf8")) + else: + # Other out format - NB 26.07.16 + if user and password: + user = user+':' + sys.stdout.write(host+"\t"+user+password+"\n") credentials.done() self.NSS.NSS_Shutdown()