Update injection-example-2.cpp

This commit is contained in:
toneillcodes
2025-08-17 09:56:37 -04:00
committed by GitHub
parent 19280207d8
commit d367453823
+1 -1
View File
@@ -1,7 +1,7 @@
/*
* Process injection example 2: injecting calc.exe msfvenom shellcode into the running process, toggling the memory protection between RW and RWX
* shellcode: msfvenom -p windows/x64/exec CMD=calc.exe -f C EXITFUNC=thread
* compile: cl.exe injection-example-2.cpp
* compile: cl.exe injection-example-2.cpp /W0
*/
#include <windows.h>
#include <stdio.h>