Hopefully removed the extra arrows
This commit is contained in:
parent
b5b24a67ce
commit
348ed3a1cc
13
HTTPy.py
13
HTTPy.py
@ -134,12 +134,15 @@ def iterate(inArray, pre):
|
|||||||
count = 0
|
count = 0
|
||||||
while count != len(inArray) - 1:
|
while count != len(inArray) - 1:
|
||||||
#print checkIfIP(inArray[count].split('.'))
|
#print checkIfIP(inArray[count].split('.'))
|
||||||
if checkIfIP(inArray[count].split('.')) == 0:
|
if pre == "TXT" or pre == "SOA":
|
||||||
tmpVal = isCNAME(inArray[count])
|
|
||||||
|
|
||||||
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET
|
|
||||||
else:
|
|
||||||
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
|
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
|
||||||
|
else:
|
||||||
|
if checkIfIP(inArray[count].split('.')) == 0:
|
||||||
|
tmpVal = isCNAME(inArray[count])
|
||||||
|
|
||||||
|
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET
|
||||||
|
else:
|
||||||
|
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user