I stumbled on pstreams
http://sourceforge.net/projects/pstreams/?source=typ_redirect is there any benefit or is it overkill. Can I still use popen() for executing shell commands or should I switch to something newer like the pstreams. Or maybe first fork a child process and then exec() a command.
Also I managed to get a .exe file in RAM but how do I get the EIP to execute that code? DO I need any ASM or can I just use CreateProcess() and start it with ThreadSuspended then write my memory chunk in the child process? This seems like a recipe for disaster.
Anyway I'm talking gibberish again, if you have some more info on any of these plz share