diff --git a/HTTPy.py b/HTTPy.py index 00b3ff7..f93bddf 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -37,6 +37,9 @@ domain = raw_input("Enter a domain: ") print domain partDomain = domain.partition(".") print partDomain +#if partDomain[2] != "": + #run code + #else tell user they suck :D conn = httplib.HTTPSConnection("www.whois.com") conn.request("GET", "/whois/" + domain) diff --git a/TODO b/TODO index cb77b88..fb535e1 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,9 @@ #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 #Full DNS record lookup