Trying a thing
This commit is contained in:
parent
3022ca95ec
commit
0f98b9ec92
2
HTTPy.py
2
HTTPy.py
@ -37,7 +37,7 @@ def dig(inDomain, record):
|
|||||||
|
|
||||||
def ipLookup(inDomain):
|
def ipLookup(inDomain):
|
||||||
ipLook = subprocess.check_output(["geoiplookup", inDomain])
|
ipLook = subprocess.check_output(["geoiplookup", inDomain])
|
||||||
host = subprocess.check_output(["host", inDomain]) #Do exit status check...
|
host = subprocess.check_call(["host", inDomain]) #Do exit status check...
|
||||||
print ipLook, "PTR: ", host
|
print ipLook, "PTR: ", host
|
||||||
|
|
||||||
def getInput():
|
def getInput():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user