refactor: small fixes

This commit is contained in:
Dobin
2024-03-29 20:47:49 +00:00
parent 4410685d0d
commit 3207aa296d
8 changed files with 3 additions and 380 deletions
+2 -1
View File
@@ -26,7 +26,7 @@ def inject_exe(
inject_mode: InjectStyle = settings.inject_mode
source_style: SourceStyle = settings.source_style
logger.info("--[ Injecting: {} into: {} -> {}".format(
logger.info("--[ Injecting: {} + {} -> {}".format(
shellcode_in, exe_in, exe_out
))
@@ -52,6 +52,7 @@ def inject_exe(
logger.error('Could not setup shellcode launch within PE file!')
return False
logger.info("--[ Rewrite placeholders with their data")
if source_style == SourceStyle.iat_reuse:
injected_fix_iat(superpe, project.carrier, project.exe_host)