Removed old BS
This commit is contained in:
parent
a656b66710
commit
558f9ae9e1
6
HTTPy.py
6
HTTPy.py
@ -12,9 +12,6 @@ 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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user