I am trying to run directly executable from a byte [] representation of executable as a resource in C # I am
So basically I want to run a byte [] of a PE directly without touching the harddisk.
The code that I used to work with, but it does not do anymore.
The code creates a process with a frozen main thread, the whole process changes the data and finally starts it, so it runs the PE byte []. But it appears that if the process begins, then the thread starts again, I really do not know what is wrong.
So here's the code in a pastebin, because I think it's too long ...
Edit:
I want to run non-managed code! Any PE file ...
This code can help: The dynamic process of portable executable Forkon / Venus:
Comments
Post a Comment