Moved to new dig system
This commit is contained in:
parent
93679da81d
commit
a6d5f3026d
23
HTTPy.py
23
HTTPy.py
@ -18,7 +18,7 @@ class bcolors:
|
|||||||
inInput = ""
|
inInput = ""
|
||||||
partDomain = ""
|
partDomain = ""
|
||||||
running = 1
|
running = 1
|
||||||
pingOn = "P"
|
pingOn = "p"
|
||||||
whoOn = "W"
|
whoOn = "W"
|
||||||
phrases = ["ping", "whois", "quit", "clear", "help", "nameserver"]
|
phrases = ["ping", "whois", "quit", "clear", "help", "nameserver"]
|
||||||
|
|
||||||
@ -201,12 +201,17 @@ while running == 1:
|
|||||||
if whoOn == "W":
|
if whoOn == "W":
|
||||||
whois(inInput)
|
whois(inInput)
|
||||||
#Condense dig calls
|
#Condense dig calls
|
||||||
test1, test2 = newdig(inInput, "A")
|
aRec, aType = newdig(inInput, "A")
|
||||||
iterate(test1, test2)
|
iterate(aRec, aType)
|
||||||
dig(inInput, "MX")
|
mxRec, mxType = newdig(inInput, "MX")
|
||||||
dig(inInput, "TXT")
|
iterate(mxRec, mxType)
|
||||||
test = dig(inInput, "NS")
|
txtRec, txtType = newdig(inInput, "TXT")
|
||||||
dig(inInput, "SRV")
|
iterate(txtRec, txtType)
|
||||||
soaRec = dig(inInput, "SOA")
|
nsRec, nsType = newdig(inInput, "NS")
|
||||||
print compareSOA(test, inInput, soaRec)
|
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'
|
print '\n'
|
||||||
Loading…
x
Reference in New Issue
Block a user