The AB class included is meant to load a binary array into memory by reading a executable file then using interop to run it in a memory space of a new process.
The AB class should be modified so it can load any executable file (installers, console apps, applications, etc) into memory in a 32bit and 64bit environment.
Essentially the code should determine if the user has 32bit or 64bit then proceed with code that works for that environment. Included in the class is the SRexec(byte, string) method which takes a binary array and a file path to start the process.
Executing SRexec(notepad, [url removed, login to view]); should load notepad into memory in a process created for the executing assembly.
Small modifications to the code are needed to port it over to 64bit and it should be a fairly straight forward process.
The class can be downloaded here:
[url removed, login to view]
Unzip the package to get the [url removed, login to view] file, load this file into a new C# Windows Application changing the namespace to match or import it.
Now you can load notepad into memory by calling the SRexec method by:
byte Ar = [url removed, login to view](@"C:\WINDOWS\[url removed, login to view]");
[url removed, login to view](Ar, [url removed, login to view]());
* * *This broadcast message was sent to all bidders on Monday Apr 12, 2010 11:22:05 PM:
I'm awaiting a good bid on this project, I am looking for a bid under $200. If you have any questions let me know. Thanks