refactor: introduced and use ExeCapabilities, make it more generic

This commit is contained in:
Dobin
2024-02-09 17:44:31 +00:00
parent d7c8e1525f
commit dfd13435a0
10 changed files with 291 additions and 90 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ def write_code_section(pe_file, new_data):
with open(pe_file, 'r+b') as f:
f.seek(file_offset)
f.write(new_data)
print("Successfully overwritten the .text section with new data.")
#print("Successfully overwritten the .text section with new data.")
break