Removed old BS

This commit is contained in:
Benjamyn Love 2017-06-02 02:43:59 +10:00
parent a656b66710
commit 558f9ae9e1

View File

@ -11,10 +11,7 @@ inInput = ""
partDomain = ""
#URL https://www.whois.com/whois/benjamyn-testing.com
#class df-block-raw
print("Domain: ")
def iterate(inArray):
count = 0
while count != len(inArray):
@ -50,7 +47,7 @@ def ipLookup(inDomain):
def getInput():
global inInput
global partDomain
inInput = raw_input()
inInput = raw_input("Please enter a domain/IP: ")
partDomain = inInput.split(".")
@ -58,7 +55,6 @@ def getInput():
#run code
#else tell user they suck :D
print "Domain: "
getInput()
if len(partDomain) == 4:
ipLookup(inInput)