mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
ui: nicer output
This commit is contained in:
@@ -72,7 +72,6 @@ def compile(
|
||||
))
|
||||
|
||||
if source_style == SourceStyle.iat_reuse:
|
||||
logger.warning("--[ SourceStyle: Using IAT_REUSE".format())
|
||||
fixup_iat_reuse(asm_clean_file, carrier)
|
||||
observer.add_text("carrier_asm_updated", file_readall_text(asm_clean_file))
|
||||
|
||||
|
||||
+2
-2
@@ -26,8 +26,8 @@ def inject_exe(
|
||||
inject_mode: InjectStyle = settings.inject_mode
|
||||
source_style: SourceStyle = settings.source_style
|
||||
|
||||
logger.info("--[ Injecting: {} into: {} -> {} (mode: {})".format(
|
||||
shellcode_in, exe_in, exe_out, inject_mode
|
||||
logger.info("--[ Injecting: {} into: {} -> {}".format(
|
||||
shellcode_in, exe_in, exe_out
|
||||
))
|
||||
|
||||
# Read prepared loader shellcode
|
||||
|
||||
@@ -30,9 +30,6 @@ def create_c_from_template(
|
||||
plugin_executor = ""
|
||||
|
||||
logger.info("--[ Create C from template")
|
||||
logger.warn("---[ {} Loader modules = Alloc: {} Decoder: {} Exec: {}".format(
|
||||
source_style.value, alloc_style.value, decoder_style.value, exec_style.value
|
||||
))
|
||||
|
||||
filepath = "data/plugins/allocator/{}.c".format(alloc_style.value)
|
||||
with open(filepath, "r", encoding='utf-8') as file:
|
||||
|
||||
@@ -144,6 +144,14 @@ def start(settings: Settings):
|
||||
project = Project(settings)
|
||||
project.init()
|
||||
|
||||
logger.warning("--I SourceStyle: {} Inject Mode: {} ".format(
|
||||
project.settings.source_style.value, project.settings.inject_mode.value))
|
||||
logger.warning("--I Loader modules: Alloc: {} Decoder: {} Exec: {}".format(
|
||||
project.settings.alloc_style.value,
|
||||
project.settings.decoder_style.value,
|
||||
project.settings.exec_style.value
|
||||
))
|
||||
|
||||
# Create: Carrier C source files from template (C->C)
|
||||
phases.templater.create_c_from_template(
|
||||
source_style = settings.source_style,
|
||||
|
||||
Reference in New Issue
Block a user