made it prettier
This commit is contained in:
parent
c83973b163
commit
b5b24a67ce
4
HTTPy.py
4
HTTPy.py
@ -137,7 +137,7 @@ def iterate(inArray, pre):
|
|||||||
if checkIfIP(inArray[count].split('.')) == 0:
|
if checkIfIP(inArray[count].split('.')) == 0:
|
||||||
tmpVal = isCNAME(inArray[count])
|
tmpVal = isCNAME(inArray[count])
|
||||||
|
|
||||||
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + " -> " + tmpVal[0] + bcolors.RESET
|
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET
|
||||||
else:
|
else:
|
||||||
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
|
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
|
||||||
count = count + 1
|
count = count + 1
|
||||||
@ -148,7 +148,7 @@ def iterateMX(inArray, pre):
|
|||||||
while count != len(inArray) - 1:
|
while count != len(inArray) - 1:
|
||||||
tmp = inArray[count].split(' ')
|
tmp = inArray[count].split(' ')
|
||||||
tmpVal = isCNAME(tmp[1])
|
tmpVal = isCNAME(tmp[1])
|
||||||
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + " -> " + tmpVal[0] + bcolors.RESET
|
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
def parseWhois(whioisInfo):
|
def parseWhois(whioisInfo):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user