Found and noted bug

This commit is contained in:
benjamyn committed 2017-05-31 18:17:02 +10:00
1 parent 68a8270286
commit ef486188ec
1 file changed
+2 -1
+2 -1
View File
@@ -34,6 +34,7 @@ def dig(inDomain, record):
print "========================================================" #ADD REST OF DIGS
test = dig.split("\n")
print record, test[0]
print len(test) #fix up mutiple record types...
def ipLookup(inDomain):
ipLook = subprocess.check_output(["geoiplookup", inDomain])
@@ -56,7 +57,7 @@ getInput()
if len(partDomain) == 4:
ipLookup(inInput)
else:
whois(inInput)
#whois(inInput)
dig(inInput, "A")
dig(inInput, "MX")
dig(inInput, "TXT")