Skip to content

Commit

Permalink
trying to fix credman module error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed May 12, 2017
1 parent 9a9eafe commit 70f9687
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Windows/lazagne/softwares/windows/credman.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ def run(self, software_name = None):

print_debug('DEBUG', 'target: %s' % str(c.TargetName))
print_debug('DEBUG', 'username: %s' % str(c.UserName))
print_debug('DEBUG', 'password: %s' % str(c.CredentialBlob[:c.CredentialBlobSize.real:2]))
print_debug('DEBUG', 'password: %s' % str(c.CredentialBlob))
print_debug('DEBUG', 'size of the password: %s' % str(c.CredentialBlobSize.real))
print_debug('DEBUG', 'everything ok')
pwdFound.append(
{
'URL' : c.TargetName,
'Login' : c.UserName,
'Password' : c.CredentialBlob[:c.CredentialBlobSize.real:2]
'Password' : c.CredentialBlob[:c.CredentialBlobSize.real].replace('\x00', '')
}
)
print_debug('DEBUG', 'trying to free the handle')
Expand Down

0 comments on commit 70f9687

Please sign in to comment.