diff --git a/src/util/obfuscation/obf_oneline.py b/src/util/obfuscation/obf_oneline.py index 9e55f8c..6a615ed 100644 --- a/src/util/obfuscation/obf_oneline.py +++ b/src/util/obfuscation/obf_oneline.py @@ -131,22 +131,22 @@ def obfuscate_normal(self, line: str) -> Obfuscated_String: weird = r"C:\Program Files (x86)\Common Files" program_1 = r"C:\Program Files" program_2 = r"C:\Program Files (x86)" - driver_stuff = r"C:\Windows\System32\Drivers\DriverData" + # driver_stuff = r"C:\Windows\System32\Drivers\DriverData" # pathext = r".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" CommonProgramFiles = r"C:\Program Files\Common Files" CommonProgramW6432 = r"C:\Program Files\Common Files" - __APPDIR__ = "C:\\Windows\\system32\\" + # __APPDIR__ = "C:\\Windows\\system32\\" options = { public: "PUBLIC", weird: "COMMONPROGRAMFILES(X86)", program_1: "PROGRAMFILES", program_2: "PROGRAMFILES(X86)", - driver_stuff: "DRIVERDATA", + # driver_stuff: "DRIVERDATA", # pathext: "PATHEXT", CommonProgramFiles: "COMMONPROGRAMFILES", CommonProgramW6432: "COMMONPROGRAMW6432", - __APPDIR__: "__APPDIR__", + # __APPDIR__: "__APPDIR__", } for index, char in enumerate(word): diff --git a/src/util/obfuscation/rans.py b/src/util/obfuscation/rans.py index a37f4fd..4e64d8f 100644 --- a/src/util/obfuscation/rans.py +++ b/src/util/obfuscation/rans.py @@ -61,7 +61,7 @@ def ran2(char, random_order: str, return_ran1: bool = True, *args, **kwargs) -> weird = "C:\\Program Files (x86)\\Common Files" program_1 = "C:\\Program Files" program_2 = "C:\\Program Files (x86)" - driver_stuff = "C:\\Windows\\System32\\Drivers\\DriverData" + # driver_stuff = "C:\\Windows\\System32\\Drivers\\DriverData" # pathext = ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" CommonProgramFiles = "C:\\Program Files\\Common Files" CommonProgramFiles_x86 = "C:\\Program Files (x86)\\Common Files" @@ -72,7 +72,7 @@ def ran2(char, random_order: str, return_ran1: bool = True, *args, **kwargs) -> "COMMONPROGRAMFILES(X86)": (weird, "None"), "PROGRAMFILES": (program_1, "None"), "PROGRAMFILES(X86)": (program_2, "None"), - "DRIVERDATA": (driver_stuff, "None"), + # "DRIVERDATA": (driver_stuff, "None"), # "PATHEXT": (pathext, "None"), "COMMONPROGRAMFILES": (CommonProgramFiles, "None"), "COMMONPROGRAMFILES(X86)": (CommonProgramFiles_x86, "None"), @@ -143,7 +143,7 @@ def ran3(char, random_order: str, *args, **kwargs) -> str: weird = r"C:\Program Files (x86)\Common Files" program_1 = r"C:\Program Files" program_2 = r"C:\Program Files (x86)" - driver_stuff = r"C:\Windows\System32\Drivers\DriverData" + # driver_stuff = r"C:\Windows\System32\Drivers\DriverData" # pathext = r".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" CommonProgramFiles = r"C:\Program Files\Common Files" CommonProgramFiles_x86 = r"C:\Program Files (x86)\Common Files" @@ -153,7 +153,7 @@ def ran3(char, random_order: str, *args, **kwargs) -> str: weird, program_1, program_2, - driver_stuff, + # driver_stuff, # pathext, CommonProgramFiles, CommonProgramFiles_x86, @@ -164,7 +164,7 @@ def ran3(char, random_order: str, *args, **kwargs) -> str: "COMMONPROGRAMFILES(X86)", "PROGRAMFILES", "PROGRAMFILES(X86)", - "DRIVERDATA", + # "DRIVERDATA", # "PATHEXT", "COMMONPROGRAMFILES", "COMMONPROGRAMFILES(X86)", diff --git a/test_all.py b/test_all.py index c22666f..3ad804c 100644 --- a/test_all.py +++ b/test_all.py @@ -25,7 +25,7 @@ "COMMONPROGRAMFILES(X86)": r"C:\Program Files (x86)\Common Files", "PROGRAMFILES": r"C:\Program Files", "PROGRAMFILES(X86)": r"C:\Program Files (x86)", - "DRIVERDATA": r"C:\Windows\System32\Drivers\DriverData", + # "DRIVERDATA": r"C:\Windows\System32\Drivers\DriverData", "COMMONPROGRAMFILES": r"C:\Program Files\Common Files", "COMMONPROGRAMW6432": r"C:\Program Files\Common Files", "COMMONPROGRAMFILES(X86)": r"C:\Program Files (x86)\Common Files",