I downloaded netcat. And I tried it out by making it execute cmd.exe when somebody connects to it. But I want to make my own shell. How would I do this? This is on windows.
Is there anywhere that has the source to cmd.exe so I can look at it?