Fixed MX Iterate
This commit is contained in:
parent
c784deb997
commit
c83973b163
8
HTTPy.py
8
HTTPy.py
@ -147,12 +147,8 @@ def iterateMX(inArray, pre):
|
|||||||
count = 0
|
count = 0
|
||||||
while count != len(inArray) - 1:
|
while count != len(inArray) - 1:
|
||||||
tmp = inArray[count].split(' ')
|
tmp = inArray[count].split(' ')
|
||||||
if checkIfIP(tmp.split('.')) == 0:
|
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] + " -> " + tmpVal[0] + bcolors.RESET
|
|
||||||
else:
|
|
||||||
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
|
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
def parseWhois(whioisInfo):
|
def parseWhois(whioisInfo):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user