Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 9d15d52

Browse files
author
byt3bl33d3r
committed
Possible fix for #38
1 parent 2256caa commit 9d15d52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crackmapexec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ class SAMHashes(OfflineRegistry):
423423
def __init__(self, samFile, bootKey, isRemote = True):
424424
OfflineRegistry.__init__(self, samFile, isRemote)
425425
self.__samFile = samFile
426-
self.__hashedBootKey = ''
426+
self.__hashedBootKey = str('')
427427
self.__bootKey = bootKey
428428
self.__cryptoCommon = CryptoCommon()
429429
self.__itemsFound = {}
@@ -914,7 +914,7 @@ def finish(self):
914914
pass
915915

916916
def getBootKey(self):
917-
bootKey = ''
917+
bootKey = str('')
918918
ans = rrp.hOpenLocalMachine(self.__rrp)
919919
self.__regHandle = ans['phKey']
920920
for key in ['JD','Skew1','GBG','Data']:

0 commit comments

Comments
 (0)