urlopen exception

asit lipun4u at gmail.com
Sat Jan 10 12:56:19 EST 2009


site="www.bput.org"
payloads="<script>alert('xss')</script>"
attack= urllib2.urlopen(site+payloads,80).readlines()

according to my best knowledge, the above code is correct.
but why it throws exceptio ????



More information about the Python-list mailing list