I need to get a way to run this...
This commit is contained in:
parent
b274aa52ad
commit
6503402908
4
HTTPy.py
4
HTTPy.py
@ -28,8 +28,8 @@ def whois(inDomain):
|
|||||||
def dig(inDomain, record):
|
def dig(inDomain, record):
|
||||||
dig = subprocess.check_output(["dig", record, "+short", inDomain])
|
dig = subprocess.check_output(["dig", record, "+short", inDomain])
|
||||||
print "========================================================" #ADD REST OF DIGS
|
print "========================================================" #ADD REST OF DIGS
|
||||||
test = dig.split("\n")
|
#test = dig.split("\n")
|
||||||
print record, test[0]
|
#print record, test[0]
|
||||||
iterate(test) #fix up mutiple record types...
|
iterate(test) #fix up mutiple record types...
|
||||||
|
|
||||||
def ipLookup(inDomain):
|
def ipLookup(inDomain):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user