Testing if this actually works RIPRIPRIP

This commit is contained in:
Benjamyn Love 2017-08-16 09:54:07 +10:00
parent 26cd7b71e1
commit 9997eb399e

View File

@ -237,17 +237,20 @@ while running == 1:
if whoOn == "W":
whois(inInput)
#Condense dig calls
aRec, aType = newdig(inInput, "A")
iterate(aRec, aType)
mxRec, mxType = newdig(inInput, "MX")
iterate(mxRec, mxType)
txtRec, txtType = newdig(inInput, "TXT")
iterate(txtRec, txtType)
nsRec, nsType = newdig(inInput, "NS")
iterate(nsRec, nsType)
srvRec, srvType = newdig(inInput, "SRV")
iterate(srvRec, srvType)
soaRec, soaType = newdig(inInput, "SOA")
iterate(soaRec, soaType)
print compareSOA(nsRec, inInput, soaRec)
print '\n'
# aRec, aType = newdig(inInput, "A")
# iterate(aRec, aType)
# mxRec, mxType = newdig(inInput, "MX")
# iterate(mxRec, mxType)
# txtRec, txtType = newdig(inInput, "TXT")
# iterate(txtRec, txtType)
# nsRec, nsType = newdig(inInput, "NS")
# iterate(nsRec, nsType)
# srvRec, srvType = newdig(inInput, "SRV")
# iterate(srvRec, srvType)
# soaRec, soaType = newdig(inInput, "SOA")
# iterate(soaRec, soaType)
# print compareSOA(nsRec, inInput, soaRec)
# print '\n'
for sub in sub2check:
tmpDom = sub + "." + inDomain
print newdig(tmpDom, "A")