import httplib

class Server:
    #server class
    def __init__(self, host):
        self.host = host
    def fetch(self, path):
        http = httplib.HTTPConnection(self.host)
        http.request("GET", path)
        r = http.getresponse()
        print str(r.status) + "  :  " + r.reason

server = Server("www.python.org")
fp=open("phpvuln.txt")
x=fp.readlines();
for y in x:
     server.fetch("/" + y);

The above code fetches only the html source of the webpage. How to get
the image, flash animation and other stuffs ????
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to