Web Application Challenge 6
Through some manipulation or interpretation of this CGI script and the HTML page(s) that it generates, a 10 character key can be found.
Find the key!
''' print '''#!/usr/bin/python import os import cgi import cgitb cgitb.enable(context=10) #if os.environ.has_key('QUERY_STRING'): # os.environ['QUERY_STRING'] = '' fields = cgi.FieldStorage() import Cookie c = Cookie.SimpleCookie() c['key'] = 'QJebByJaKX' c['content'] = '
Maybe I should have used sessions...
' print 'Content-Type: text/html\n%s\n\n\n' % c print '' print '''Through some manipulation or interpretation of this CGI script and the HTML page(s) that it generates, a 10 character key can be found.
Find the key!
''' print '''