From 7d3516a37ed7b5319bb037ac493cc3efb3e54d2a Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 26 Jul 2016 16:05:00 +0100 Subject: [PATCH] bin/firefox_decrypt.py --- bin/firefox_decrypt.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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() -- 2.47.3