Feb 15, 2018 08:56 PM
(This post was last modified: Mar 4, 2018 01:27 PM by gigajew.)
Here's my managed alternative to a RunPE. Works with x86->AnyCPU/x86 and x64->AnyCPU/x86/x64. It fully supports parameters and GUI applications. It's not going to follow any particular coding conventions so don't even mention it. It runs fine. It checks whether the assembly is actually managed or not before trying to load it. The Inject method returns a Boolean value indicating success or failure.
Usage:
Source code:
Usage:
Code
ManagedRunPE.Inject(byte[] buffer, bool emptybuffer, params string[] arguments);Source code:
![[Image: Syr3DlV.png]](https://i.imgur.com/Syr3DlV.png)


