fix: start with onn-verify

This commit is contained in:
Dobin
2024-02-10 13:47:42 +00:00
parent 72e4c4ffe5
commit 92048b357d
+4
View File
@@ -52,7 +52,10 @@ def main():
project.inject_exe_out = "out/iatttest-full-a.exe" project.inject_exe_out = "out/iatttest-full-a.exe"
else: else:
print("Unknown verify option {}, use std/iat".format(args.verify)) print("Unknown verify option {}, use std/iat".format(args.verify))
else: else:
project.try_start_final_infected_exe = True
if args.shellcode: if args.shellcode:
if not os.path.isfile(args.shellcode): if not os.path.isfile(args.shellcode):
print("Could not find: {}".format(args.shellcode)) print("Could not find: {}".format(args.shellcode))
@@ -65,6 +68,7 @@ def main():
project.inject = True project.inject = True
project.inject_exe_in = args.inject project.inject_exe_in = args.inject
project.inject_exe_out = args.inject.replace(".exe", ".infected.exe") project.inject_exe_out = args.inject.replace(".exe", ".infected.exe")
start() start()