Added psuedo code for main validation statment and TODO had cmdline args

entry added
This commit is contained in:
Benjamyn Love 2017-05-22 14:13:56 +10:00
parent 0ffd7b6c72
commit 1003310630
2 changed files with 6 additions and 1 deletions

View File

@ -37,6 +37,9 @@ domain = raw_input("Enter a domain: ")
print domain print domain
partDomain = domain.partition(".") partDomain = domain.partition(".")
print partDomain print partDomain
#if partDomain[2] != "":
#run code
#else tell user they suck :D
conn = httplib.HTTPSConnection("www.whois.com") conn = httplib.HTTPSConnection("www.whois.com")
conn.request("GET", "/whois/" + domain) conn.request("GET", "/whois/" + domain)

4
TODO
View File

@ -2,7 +2,9 @@
#TODO: Add input to ask domain - Kinda implemented, needs work and validation #TODO: Add input to ask domain - Kinda implemented, needs work and validation
#TODO implement TLD/gTLD lists to check against. #TODO: Implement TLD/gTLD lists to check against.
#TODO: Add the ability to use the command line args to input the domain name
#TODO: Add extra nice features #TODO: Add extra nice features
#Full DNS record lookup #Full DNS record lookup