Added psuedo code for main validation statment and TODO had cmdline args
entry added
This commit is contained in:
parent
0ffd7b6c72
commit
1003310630
3
HTTPy.py
3
HTTPy.py
@ -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
4
TODO
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user