back soft

مطالب مرتبط با «running exe from command line» در back soft | نویسنده: استخدام کار

Running EXE from buffer in memory

Vote count: 0 i'm trying to make exe packer 5 extract exe to buffer(in my case: vector) add new section get offset of new EP and run but after call newmain i got 0xC0000005 main.cpp: pastebin #define WIN32_LEAN_AND_MEAN #include #include "main.h" typedef struct _BASE_RELOCATION_ENTRY { WORD Offset : 12; WORD Type : 4; } BASE_RELOCATION_ENTRY; BOOL applyRelocBlock(BASE_RELOCATION_ENTRY* block, size_t entriesNum, DWORD page, PVOID newBase) { PVOID ImageBaseAddress = NtCurrentTeb()->Peb->ImageBaseAddress; BASE_RELOCATION_ENTRY* entry = block; for (int i = 0; i < entriesNum; i++) { DWORD offset = entry->Offset; DWORD type = entry->Type; if (entry == NULL || type == 0 || offset == 0) { //printf("...

ادامه مطلب

برچسب‌های مرتبط

running exe from powershell | running exe from command line | running exe from cmd | running exe from c# | running exe from java | running exe from python | running exe from batch file | running exe from cygwin | running exe from network share | running exe from javascript