refactor: cleanup 3

This commit is contained in:
Dobin
2024-03-01 14:07:18 +00:00
parent 112964c11c
commit 9e551d9a19
8 changed files with 36 additions and 42 deletions
+3 -2
View File
@@ -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
View File
@@ -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 = ""