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