From 1003310630f6f88d1dbcb386b8f97a2e3a8e6ebf Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 22 May 2017 14:13:56 +1000 Subject: [PATCH] Added psuedo code for main validation statment and TODO had cmdline args entry added --- HTTPy.py | 3 +++ TODO | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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