fixes #30
parent
56fe9aa19a
commit
c58dd26833
|
@ -1700,7 +1700,6 @@ class DumpSecrets:
|
|||
return True
|
||||
|
||||
def dump(self, smbconnection):
|
||||
try:
|
||||
self.__remoteOps = RemoteOperations(smbconnection)
|
||||
self.__remoteOps.enableRegistry()
|
||||
bootKey = self.__remoteOps.getBootKey()
|
||||
|
@ -1732,13 +1731,6 @@ class DumpSecrets:
|
|||
if self.__useVSSMethod is False:
|
||||
logging.info('Something wen\'t wrong with the DRSUAPI approach. Try again with -use-vss parameter')
|
||||
|
||||
except (Exception, KeyboardInterrupt) as e:
|
||||
traceback.print_exc()
|
||||
try:
|
||||
self.cleanup()
|
||||
except:
|
||||
pass
|
||||
|
||||
def cleanup(self):
|
||||
logging.info('Cleaning up... ')
|
||||
if self.__remoteOps:
|
||||
|
|
Loading…
Reference in New Issue