moth/puzzles/webapp/10/1.cgi

33 lines
646 B
Python
Executable File

#!/usr/bin/python
import cgi
import cgitb
print 'Content-Type: text/html'
print ''
print '''
<html>
<head>
<title>1</title>
<link rel="stylesheet" type="text/css" href=",ctf.css" media="all" />
<!-- key = ktFfb8R1Bw -->
</head>
<body>
<div id="wrapper">
<div id="content">
<h1>Web Application Challenge 1</h1>
<p>Through some manipulation or interpretation of this CGI script
and the HTML page(s) that it generates, a 10 character key can be
found.</p>
<p><strong>Find the key!</strong></p>
</div>
<div id="footer">
<p>Copyright &copy; 2009 LANS, LLC.</p>
</div>
</div>
</body>
</html>
'''