more prettyness

This commit is contained in:
Benjamyn Love 2017-09-25 10:22:55 +10:00
parent 1eb200ad89
commit 146853001b

View File

@ -180,7 +180,7 @@ def parseWhois(whioisInfo):
def whois(inDomain):
lookup = subprocess.check_output(["whois", inDomain])
print "========================================================"
print "====================== WHOIS ==========================="
test = lookup.split("\n")
#iterate(test, "")
parseWhois(test)
@ -263,7 +263,7 @@ while running == 1:
else:
if whoOn == "W":
whois(inInput)
print "========================DNS============================="
print "======================= DNS ============================"
for sub in sub2check:
if sub != "":
tmpDom = sub + "." + inInput