Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: UTF-8 -*-# enable debugging
- import cgitb
- import cgi
- cgitb.enable()
- form = cgi.FieldStorage()
- password = form.getvalue('password')
- user = form.getvalue('user')
- command = form.getvalue("command")
- print "Content-Type: text/html"
- print
- print "<TITLE>W.I.L.L.</TITLE>"
- print '''
- <h1> Welcome to W.I.L.L. </h1>
- <h2> To sign up for W.I.L.L, please contact Will Beddow at will.beddow@gmail.com</h2>
- <form action="index.cgi" method="GET">
- Username:<br>
- <input type="text" name="user">
- <br>
- Password:<br>
- <input type="text" name="password">
- <br>
- Command:<br>
- <input type="text" name="command">
- <br><br>
- <input type="submit">
- </form>
- '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement