mirror of
https://github.com/toneillcodes/windows-process-injection
synced 2026-06-21 14:11:25 +00:00
Update injection-example-2.cpp
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user