Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average
Thread Closed 


Python - Website Recon Tool filter_list
Author
Message
Python - Website Recon Tool #1
[Image: res0pij.png]
Python - Website Recon Tool

[Image: 21c4b71dfa679517a0f02deae888dc81.png]
WebsiteRecon.py

Code:

Code:
import socket
import dns.resolver
import urllib.request
#Coded for SL by Eclipse
print()
print("==================================================")
print("--------------------------------------------------")
print("==================================================")
print()
print()
print("        =-=-=-=-=-Website Recon-=-=-=-=-=         ")
print()
print()
print("==================================================")
print("--------------------------------------------------")
print("==================================================")
def main():
    print()
    url = input("Enter the website URL (Don't include 'http://')~: ")
    http = 'http://'
    http_url = str(http + url)
    print()
    print("Analyzing", http_url)
    print()
    try:
        hostname = socket.gethostbyname(url)
        nameserver = dns.resolver.query(url,'NS')
        print("[+]Server IP: ", hostname)
        for server in nameserver:
            print("[+]Nameserver: ", server)
        print("[+]Grabbing banner...")
        banner_grab = urllib.request.urlopen(http_url).info()
        print("----------")
        print(banner_grab)
        print("----------")
    except:
        print("[+]Unknown Error!")
        main()
    main()
main()

Github: https://github.com/Eclipse-kun/eclipse/b...teRecon.py






Messages In This Thread
Python - Website Recon Tool - by Eclipse - 09-28-2014, 08:33 PM
RE: Python - Website Recon Tool - by Kizaru - 09-28-2014, 09:17 PM
RE: Python - Website Recon Tool - by Shebang - 09-28-2014, 09:31 PM
RE: Python - Website Recon Tool - by Dyme - 09-28-2014, 09:50 PM
RE: Python - Website Recon Tool - by Shebang - 09-28-2014, 10:06 PM
RE: Python - Website Recon Tool - by Dyme - 09-28-2014, 10:14 PM
RE: Python - Website Recon Tool - by Shebang - 09-28-2014, 10:50 PM
RE: Python - Website Recon Tool - by Adorapuff - 09-28-2014, 09:44 PM
RE: Python - Website Recon Tool - by Reiko - 09-29-2014, 04:30 AM
RE: Python - Website Recon Tool - by Eclipse - 09-29-2014, 01:32 PM
RE: Python - Website Recon Tool - by blackhatcat - 09-29-2014, 02:12 PM
RE: Python - Website Recon Tool - by Eclipse - 09-29-2014, 02:18 PM
RE: Python - Website Recon Tool - by blackhatcat - 09-29-2014, 02:30 PM
RE: Python - Website Recon Tool - by Eclipse - 09-29-2014, 02:49 PM
RE: Python - Website Recon Tool - by blackhatcat - 09-29-2014, 03:08 PM
RE: Python - Website Recon Tool - by Null_Byte - 09-30-2014, 05:00 PM
RE: Python - Website Recon Tool - by Eclipse - 09-30-2014, 08:37 PM
RE: Python - Website Recon Tool - by Null_Byte - 10-01-2014, 06:26 PM
RE: Python - Website Recon Tool - by Foxy - 11-25-2014, 06:04 AM
RE: Python - Website Recon Tool - by Eclipse - 11-25-2014, 02:20 PM



Users browsing this thread: 3 Guest(s)