Skip to content

Commit

Permalink
cf changelog v0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed May 29, 2015
1 parent b2c7473 commit e444550
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 11 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
LaZagne 0.7 (29/05/2015)
- For Windows / Linux
* Fix mozilla bug (special characters were not printed)

LaZagne 0.6 (26/05/2015)
- For Windows / Linux
* Firefox / Thunderbird: No more dependency with nss library (many thanks to Laurent for his technic: https://github.com/lclevy/firepwd)
* Firefox / Thunderbird: No more dependency with nss library (many thanks to Laurent Clevy for its awesome technic: https://github.com/lclevy/firepwd)
* Fix opera bug

- Only Windows
Expand Down
2 changes: 1 addition & 1 deletion Linux/src/config/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class constant():
folder_name = 'results'
MAX_HELP_POSITION = 27
CURRENT_VERSION = 0.6
CURRENT_VERSION = 0.7
output = None
file_logger = None
verbose = False
Expand Down
19 changes: 15 additions & 4 deletions Linux/src/softwares/browsers/mozilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,15 +503,26 @@ def run(self):
loginASN1 = decoder.decode(b64decode(user))
iv = loginASN1[0][1][1].asOctets()
ciphertext = loginASN1[0][2].asOctets()
login = re.sub( r'[^\\x\w]', '', DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext) )
values["Username"] = login
login = DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext)
# remove bad character at the end
try:
nb = unpack('B', login[-1])[0]
values["Username"] = login[:-nb]
except:
values["Username"] = login


# Password
passwdASN1 = decoder.decode(b64decode(passw))
iv = passwdASN1[0][1][1].asOctets()
ciphertext = passwdASN1[0][2].asOctets()
password = re.sub( r'[^\\x\w]', '', DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext) )
values["Password"] = password
password = DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext)
# remove bad character at the end
try:
nb = unpack('B', password[-1])[0]
values["Password"] = password[:-nb]
except:
values["Password"] = password

if len(values):
pwdFound.append(values)
Expand Down
Binary file modified Linux/standalone/32bits/LaZagne-32bits
Binary file not shown.
Binary file modified Linux/standalone/64bits/LaZagne-64bits
Binary file not shown.
2 changes: 1 addition & 1 deletion Windows/src/LaZagne/config/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class constant():
folder_name = 'results'
MAX_HELP_POSITION = 27
CURRENT_VERSION = 0.6
CURRENT_VERSION = 0.7
output = None
file_logger = None

Expand Down
19 changes: 15 additions & 4 deletions Windows/src/LaZagne/softwares/browsers/mozilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,15 +507,26 @@ def run(self):
loginASN1 = decoder.decode(b64decode(user))
iv = loginASN1[0][1][1].asOctets()
ciphertext = loginASN1[0][2].asOctets()
login = re.sub( r'[^\\x\w]', '', DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext) )
values["Username"] = login
login = DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext)
# remove bad character at the end
try:
nb = unpack('B', login[-1])[0]
values["Username"] = login[:-nb]
except:
values["Username"] = login

# Password
passwdASN1 = decoder.decode(b64decode(passw))
iv = passwdASN1[0][1][1].asOctets()
ciphertext = passwdASN1[0][2].asOctets()
password = re.sub( r'[^\\x\w]', '', DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext) )
values["Password"] = password
password = DES3.new( key, DES3.MODE_CBC, iv).decrypt(ciphertext)
# remove bad character at the end
try:
nb = unpack('B', password[-1])[0]
values["Password"] = password[:-nb]
except:
values["Password"] = password


if len(values):
pwdFound.append(values)
Expand Down
Binary file modified Windows/standalone/laZagne.exe
Binary file not shown.

0 comments on commit e444550

Please sign in to comment.