mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
refactor: cleanup 3
This commit is contained in:
+3
-2
@@ -27,9 +27,10 @@ class ExecStyle(Enum):
|
||||
class DataRefStyle(Enum):
|
||||
APPEND = 1
|
||||
|
||||
|
||||
class InjectStyle(Enum):
|
||||
ENTRY = "change AddressOfEntryPoint"
|
||||
HIJACK = "hijack branching instruction at Original Entry Point (jmp, call, ...)"
|
||||
ChangeEntryPoint = "change AddressOfEntryPoint"
|
||||
BackdoorCallInstr = "hijack branching instruction at Original Entry Point (jmp, call, ...)"
|
||||
|
||||
class SourceStyle(Enum):
|
||||
peb_walk = "peb_walk"
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ class Settings():
|
||||
self.short_call_patching: bool = False
|
||||
|
||||
# Injectable
|
||||
self.inject_mode: int = 2
|
||||
self.inject_mode: InjectStyle = InjectStyle.BackdoorCallInstr
|
||||
self.inject_exe_in: FilePath = ""
|
||||
self.inject_exe_out: FilePath = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user