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