main
byt3bl33d3r 2015-11-01 19:06:38 -07:00
parent 56fe9aa19a
commit c58dd26833
1 changed files with 24 additions and 32 deletions

View File

@ -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: