While reading a section in Python for dummies about CGI scripting, and idea suddenly hit me for a wargame idea. Here it is:
We create a web server in which we have a vulnerable python CGI script. The python script asks for users input and prints it. The idea is the user can also type in a system command and the script will use os.system() to preform commands. Of course the CGI script won't actually be vulnerable, we could emulate vulnerability.
Im not sure i understand, as if we let the users access os.system they can do anything
We create a fake page that prints what you type in a message box. But it also executes system commands. So the user can type ls and see the output of ls. Get it?