2009-10-01 16:53:23 -06:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
|
|
|
import cgi
|
|
|
|
import cgitb
|
|
|
|
|
|
|
|
print 'Content-Type: text/html'
|
|
|
|
print ''
|
|
|
|
|
|
|
|
print '''
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>1</title>
|
2009-10-05 11:03:27 -06:00
|
|
|
<link rel="stylesheet" type="text/css" href=",ctf.css" media="all" />
|
2009-10-01 16:53:23 -06:00
|
|
|
<!-- 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 © 2009 LANS, LLC.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
'''
|
|
|
|
|