def target_information(name):
    try:
        headers = urllib2.urlopen(name)
        print "[+] fetching information from the given target : (%s)" %(headers.geturl())
        print "[+] target responded with HTTP code: (%s)" %headers.getcode()
        print "[+] target is running server: (%s)" %headers.info()['server']

    except urllib2.HTTPError as h:
        print "[-] url error occured - (%s)" % h.code
        pass


# audit function for scanning frontpage and sharepoint files
dataset/ETHPy150Open alias1/sparty/sparty_v_0.1.py/target_information/original