Test plz ignore
This commit is contained in:
parent
d6772d83a9
commit
2b5ad0ba3e
8
HTTPy.py
8
HTTPy.py
@ -175,7 +175,7 @@ def dig(inDomain, record):
|
||||
iterate(test, record)
|
||||
return test
|
||||
|
||||
def newdig(inDomain, record):
|
||||
def newdig(inDomain, record, ""):
|
||||
try:
|
||||
dig = subprocess.check_output(["dig", record, "+short", inDomain])
|
||||
except Exception as e:
|
||||
@ -184,7 +184,7 @@ def newdig(inDomain, record):
|
||||
print "========================================================"
|
||||
test = dig.split("\n")
|
||||
#iterate(test, record)
|
||||
return test, record
|
||||
return test, record, sub
|
||||
|
||||
def ipLookup(inDomain):
|
||||
host = "N/A"
|
||||
@ -255,5 +255,5 @@ while running == 1:
|
||||
for sub in sub2check:
|
||||
if sub != "":
|
||||
tmpDom = sub + "." + inInput
|
||||
subRec, subType = newdig(tmpDom, "A")
|
||||
iterate(subRec, subType)
|
||||
subRec, subType, test = newdig(tmpDom, "A", sub)
|
||||
iterate(test, subType)
|
||||
Loading…
x
Reference in New Issue
Block a user