diff --git a/run.py b/run.py index ba8b8d4..fc46864 100644 --- a/run.py +++ b/run.py @@ -92,8 +92,12 @@ def main(): } printStatus("\nextracting registry hives (" +str(opusnt.target["index"])+ "/" +str(opusnt.target["maxIndex"])+ ")...") - for reg in regs: - opusnt.readyFile(regs[reg]) + for reg in list(regs.keys()): + try: + opusnt.readyFile(regs[reg]) + except: + print(colorama.Fore.YELLOW + colorama.Style.BRIGHT + "warning: " +colorama.Style.RESET_ALL+ " extracting " +regs[reg]+ " failed, skipping.") + del regs[reg] userPath = "Users" opusnt.readyFile(userPath)