mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
fix: tester.py, and add testcases for DLL
This commit is contained in:
+3
-1
@@ -190,7 +190,9 @@ def start_real(settings: Settings):
|
||||
# Start/verify it at the end
|
||||
if settings.verify:
|
||||
logger.info("--[ Verify infected exe")
|
||||
payload_exit_code = phases.injector.verify_injected_exe(settings.inject_exe_out)
|
||||
payload_exit_code = phases.injector.verify_injected_exe(
|
||||
settings.inject_exe_out,
|
||||
dllfunc=settings.dllfunc)
|
||||
logging.info("Payload exit code: {}".format(payload_exit_code))
|
||||
if payload_exit_code != 0:
|
||||
raise Exception("Payload exit code: {}".format(payload_exit_code))
|
||||
|
||||
Reference in New Issue
Block a user