refactor: rename exes/ to injectables/

This commit is contained in:
Dobin Rutishauser
2025-06-20 11:48:37 +02:00
parent 4b688f0394
commit 716f7a47ed
23 changed files with 110 additions and 54 deletions
+5 -4
View File
@@ -7,10 +7,11 @@ class FilePath(str):
# with data/shellcodes/createfile.bin
VerifyFilename: FilePath = FilePath("C:\\Temp\\a")
# Directory structure
PATH_EXES = "data/binary/exes/"
# Input Binary
PATH_INJECTABLES = "data/binary/injectables/"
PATH_SHELLCODES = "data/binary/shellcodes/"
# Input Source
PATH_CARRIER = "data/source/carrier/"
PATH_DECODER = "data/source/decoder/"
PATH_ANTIEMULATION = "data/source/antiemulation/"
@@ -18,7 +19,7 @@ PATH_DECOY = "data/source/decoy/"
PATH_GUARDRAILS = "data/source/guardrails/"
PATH_VIRTUALPROTECT = "data/source/virtualprotect/"
PATH_PAYLOAD = "data/source/payload/"
# Project settings
PATH_WEB_PROJECT = "projects/"
+2 -2
View File
@@ -16,7 +16,7 @@ class Settings():
self.project_exe_path: FilePath = FilePath(self.project_path + "main.exe")
self.project_shc_path: FilePath = FilePath(self.project_path + "main.bin")
# IN: Injectable (like "7z.exe", in data/input/exes/)
# IN: Injectable (like "7z.exe", in data/input/injectables/)
self.injectable_base: str = ""
# IN: Payload / Shellcode (like "createfile.bin", in data/input/shellcodes/)
self.payload_base: str = ""
@@ -62,7 +62,7 @@ class Settings():
def get_inject_exe_in(self) -> FilePath:
if self.injectable_base == "":
return None
return FilePath(PATH_EXES + self.injectable_base)
return FilePath(PATH_INJECTABLES + self.injectable_base)
def get_inject_exe_out(self) -> FilePath:
return FilePath("{}{}".format(