mirror of
https://github.com/login-securite/DonPAPI
synced 2025-02-09 07:57:18 +00:00
Fix Python syntax error
This commit is contained in:
parent
36f9578a24
commit
37b34ae6ea
@ -102,7 +102,7 @@ class lastpass():
|
|||||||
masterkey = self.get_masterkey(user=user, guid=guid, type='DOMAIN')
|
masterkey = self.get_masterkey(user=user, guid=guid, type='DOMAIN')
|
||||||
if masterkey != None:
|
if masterkey != None:
|
||||||
if masterkey['status'] == 'decrypted':
|
if masterkey['status'] == 'decrypted':
|
||||||
mydpapi.options.key = masterkey['key'].
|
mydpapi.options.key = masterkey['key']
|
||||||
cred_data = mydpapi.decrypt_blob(entropy=string_to_bin('DE135B5F18A34670B2572429698898E6'))
|
cred_data = mydpapi.decrypt_blob(entropy=string_to_bin('DE135B5F18A34670B2572429698898E6'))
|
||||||
if cred_data != None:
|
if cred_data != None:
|
||||||
self.logging.debug(
|
self.logging.debug(
|
||||||
@ -352,4 +352,4 @@ class lastpass():
|
|||||||
pillaged_from_username=user.username)
|
pillaged_from_username=user.username)
|
||||||
return -1
|
return -1
|
||||||
elif user.masterkeys_file[guid]['status'] == 'decrypted': # Should'nt go here
|
elif user.masterkeys_file[guid]['status'] == 'decrypted': # Should'nt go here
|
||||||
return user.masterkeys_file[guid]
|
return user.masterkeys_file[guid]
|
||||||
|
Loading…
Reference in New Issue
Block a user