urlopen exception

Steve Holden steve at holdenweb.com
Sat Jan 10 21:32:52 CET 2009


asit wrote:
> 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 ????

what exception it throw?
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list