[framework] cmd.exe will not spawn a shell

Pranay Kanwar warl0ck at metaeye.org
Sun Jul 1 13:37:17 CDT 2007


Most probably its due to the fact that in shellcode the STARTUPINFO structure for CreateProcess is
missing STARTF_USESHOWWINDOW flag.

>From MSDN

"For graphical user interface (GUI) processes, this information affects the first window created by the CreateWindow function and shown by the
ShowWindow function. For console processes, this information affects the console window if a new console is created for the process. A process can use
the GetStartupInfo function to retrieve the STARTUPINFO structure specified when the process was created."

Regards

warl0ck // MSG
http://www.metaeye.org



More information about the framework mailing list