feature: rwx execution

This commit is contained in:
Dobin
2024-02-11 20:46:33 +00:00
parent 547cd94dd5
commit 6fe1f192b7
9 changed files with 166 additions and 76 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ from helper import *
from config import config
from observer import observer
from project import project
from pehelper import *
def make_shc_from_asm(asm_file, exe_file, shc_file):
@@ -24,7 +25,7 @@ def make_shc_from_asm(asm_file, exe_file, shc_file):
return
print("---[ EXE to SHC: {} -> {} ]".format(exe_file, shc_file))
code = get_code_section(exe_file)
code = get_code_section_data(exe_file)
with open(shc_file, 'wb') as f:
f.write(code)