mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: remove DecoderStyles enum
This commit is contained in:
@@ -23,13 +23,6 @@ PATH_VIRTUALPROTECT = "data/source/virtualprotect/"
|
||||
PATH_WEB_PROJECT = "projects/"
|
||||
|
||||
|
||||
# Correlated with real template files
|
||||
# in data/plugins/
|
||||
class DecoderStyle(Enum):
|
||||
PLAIN_1 = "plain_1"
|
||||
XOR_1 = "xor_1"
|
||||
XOR_2 = "xor_2"
|
||||
|
||||
|
||||
class PayloadLocation(Enum):
|
||||
CODE = ".text"
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ class Settings():
|
||||
|
||||
# Settings
|
||||
self.carrier_name: str = ""
|
||||
self.decoder_style: DecoderStyle = DecoderStyle.XOR_1
|
||||
self.decoder_style: str = "xor_2"
|
||||
self.short_call_patching: bool = False
|
||||
|
||||
self.plugin_antiemulation = "none"
|
||||
|
||||
Reference in New Issue
Block a user