From 0df605b88b6d975d9ade3a8d2b6d452ac74e01cb Mon Sep 17 00:00:00 2001 From: Benjamyn Date: Wed, 16 Aug 2017 10:08:53 +1000 Subject: [PATCH] Added records as well --- HTTPy.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/HTTPy.py b/HTTPy.py index 5b3a490..207d344 100755 --- a/HTTPy.py +++ b/HTTPy.py @@ -251,9 +251,13 @@ while running == 1: # soaRec, soaType = newdig(inInput, "SOA") # iterate(soaRec, soaType) # print compareSOA(nsRec, inInput, soaRec) - # print '\n' for sub in sub2check: if sub != "": tmpDom = sub + "." + inInput - subRec, subType, test = newdig(tmpDom, "A", sub) - iterate(test, subType) \ No newline at end of file + subRec, subType, subDomain = newdig(tmpDom, "A", sub) + iterate(subRec, subDomain) + for rec in rec2check: + if rec != "": + dnsRec, dnsType = newdig(inInput, rec) + iterate(dnsRec, dnsType) + print '\n' \ No newline at end of file