def run(self, software_name=None): if self.save_hives(): hashdump = dump_file_hashes(constant.hives['system'], constant.hives['sam']) if hashdump: pwdFound = ['__Hashdump__', hashdump] return pwdFound
def run(self, software_name=None): # save system hives if not self.save_hives(): print_debug('ERROR', 'Failed to save system hives') return password = dump_file_hashes(constant.hives['system'], constant.hives['sam']) pwdFound = ['__Hashdump__', password] return pwdFound
def run(self, software_name=None): pwdFound = [] path = build_path('Hives') if path: system = os.path.join(path, 'SYSTEM') sam = os.path.join(path, 'SAM') if os.path.exists(system) and os.path.exists(sam): hashes = dump_file_hashes(system, sam) if hashes: pwdFound = ['__Hashdump__', hashes] return pwdFound