Hack Forums
[C#] How to load native code - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] How to load native code (/showthread.php?tid=5587120)



How to load native code - FaXe - Mar 29, 2017

I understand how to load other .NET assemblies using the Assembly class, but how would I go about loading native code into the current process?


* - HFDone - Mar 29, 2017

search google for runpe ...


* - SIM-3432714 - Mar 29, 2017

You are talking about LoadPE ? Without creating new process.


* - Menalix - Mar 29, 2017

(Mar 29, 2017 06:41 AM)FaXe Wrote:  I understand how to load other .NET assemblies using the Assembly class, but how would I go about loading native code into the current process?

Do you want to load a whole native pe, or just some shell-code?


* - FaXe - Mar 30, 2017

(Mar 29, 2017 08:17 PM)Menalix Wrote:  Do you want to load a whole native pe, or just some shell-code?

I want to load an entire native exe file