mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
refactor: small fix
This commit is contained in:
+2
-1
@@ -185,8 +185,9 @@ def start(settings: Settings):
|
|||||||
build_exe = main_exe_file,
|
build_exe = main_exe_file,
|
||||||
shellcode_out = main_shc_file)
|
shellcode_out = main_shc_file)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Error: Assembling failed")
|
logger.error("Error: Assembling failed: {}".format(e))
|
||||||
return 2
|
return 2
|
||||||
|
#shutil.copy(main_shc_file, "working/build/shellcode.bin")
|
||||||
|
|
||||||
# Merge: shellcode/loader with payload (SHC + PAYLOAD -> SHC)
|
# Merge: shellcode/loader with payload (SHC + PAYLOAD -> SHC)
|
||||||
if settings.dataref_style == DataRefStyle.APPEND:
|
if settings.dataref_style == DataRefStyle.APPEND:
|
||||||
|
|||||||
Reference in New Issue
Block a user