refactor: small fix

This commit is contained in:
Dobin
2024-03-15 19:32:25 +00:00
parent ac82c22dea
commit 057f85e2bc
+2 -1
View File
@@ -185,8 +185,9 @@ def start(settings: Settings):
build_exe = main_exe_file,
shellcode_out = main_shc_file)
except Exception as e:
logger.error("Error: Assembling failed")
logger.error("Error: Assembling failed: {}".format(e))
return 2
#shutil.copy(main_shc_file, "working/build/shellcode.bin")
# Merge: shellcode/loader with payload (SHC + PAYLOAD -> SHC)
if settings.dataref_style == DataRefStyle.APPEND: