mirror of
https://github.com/pwndizzle/c-sharp-memory-injection
synced 2026-06-06 16:34:33 +00:00
Update iat-injection.cs
This commit is contained in:
@@ -7,9 +7,13 @@ To build and run:
|
||||
|
||||
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe iat-inject.cs && iat-inject.exe
|
||||
|
||||
Note: By default this module is configured to target the CreateFileW import of notepad.exe. Notepad will need to be running before you execute this code!
|
||||
|
||||
Note: During test it was found that shellcode execution would modify the stack and break subsequent functions.
|
||||
Afaik the solution is to use shellcode that cleans up after itself.
|
||||
|
||||
Note: This code only supports x64 at the momemt, some further tweaks may be needed for x86.
|
||||
|
||||
*/
|
||||
|
||||
using System;
|
||||
|
||||
Reference in New Issue
Block a user