Skip to content

Commit

Permalink
Fix Outlook scan
Browse files Browse the repository at this point in the history
Should fix Outlook scan and now display SMTP password.
  • Loading branch information
jboss38 authored Jan 15, 2017
1 parent fd2d194 commit 36567c1
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 36567c1

Please sign in to comment.