refactor: DataReuseEntry(), IatEntry()

This commit is contained in:
Dobin
2024-02-26 20:33:29 +00:00
parent a13d86d9cd
commit 019b7c97d8
4 changed files with 19 additions and 34 deletions
+8 -1
View File
@@ -1,7 +1,6 @@
from typing import Dict, List
import logging
from model.exehost import DataReuseEntry
logger = logging.getLogger("Carrier")
@@ -12,6 +11,14 @@ class IatRequest():
self.placeholder: bytes = placeholder # Random bytes as placeholder
class DataReuseEntry():
def __init__(self, string_ref: str, register: str, randbytes: bytes):
self.string_ref = string_ref
self.register = register
self.randbytes = randbytes
self.data = b''
self.addr = 0
class Carrier():
def __init__(self):