refactor: small cleanup

This commit is contained in:
Dobin Rutishauser
2025-06-21 10:19:01 +02:00
parent 71bc23f47a
commit 1db212de53
5 changed files with 10 additions and 1 deletions
+4
View File
@@ -148,6 +148,8 @@ def sanity_checks(settings):
def start_real(settings: Settings) -> bool:
"""Main entry point for the application. This is where the magic happens (based on settings)"""
#settings.print()
# Load our input
project = Project(settings)
if not project.init():
@@ -244,6 +246,8 @@ def start_real(settings: Settings) -> bool:
dllfunc=settings.dllfunc)
if payload_exit_code != 0:
logger.warning("Payload exit code: {}".format(payload_exit_code))
return False
elif settings.try_start_final_infected_exe:
run_exe(settings.get_inject_exe_out(), dllfunc=settings.dllfunc, check=False)