Skip non-existant registry hives
This commit is contained in:
parent
303ede3139
commit
a298c3de80
8
run.py
8
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)
|
||||
|
Loading…
Reference in New Issue
Block a user