mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
refactor: bix cleanup
This commit is contained in:
@@ -1,40 +1,12 @@
|
||||
from typing import Dict
|
||||
import pehelper
|
||||
import pefile
|
||||
from enum import Enum
|
||||
import logging
|
||||
import pefile
|
||||
|
||||
import pehelper
|
||||
|
||||
logger = logging.getLogger("Model")
|
||||
|
||||
|
||||
class FilePath(str):
|
||||
pass
|
||||
|
||||
|
||||
class AllocStyle(Enum):
|
||||
RWX = "rwx_1"
|
||||
#RW_X = "rw_x"
|
||||
#REUSE = "reuse"
|
||||
|
||||
class ExecStyle(Enum):
|
||||
CALL = "direct_1",
|
||||
#JMP = 2,
|
||||
#FIBER = 3,
|
||||
|
||||
class DecoderStyle(Enum):
|
||||
PLAIN_1 = "plain_1"
|
||||
XOR_1 = "xor_1"
|
||||
|
||||
class DataRefStyle(Enum):
|
||||
APPEND = 1
|
||||
|
||||
#class InjectStyle(Enum):
|
||||
|
||||
class SourceStyle(Enum):
|
||||
peb_walk = 1
|
||||
iat_reuse = 2
|
||||
|
||||
|
||||
class Capability():
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
||||
Reference in New Issue
Block a user