Hopefully fixed AU domain status
This commit is contained in:
parent
1f6485b643
commit
4a50b40e31
10
HTTPy.py
10
HTTPy.py
@ -106,10 +106,11 @@ def parseWhois(whioisInfo):
|
|||||||
D = re.compile("^[Dd]")
|
D = re.compile("^[Dd]")
|
||||||
R = re.compile("^[Rr]")
|
R = re.compile("^[Rr]")
|
||||||
U = re.compile("^[Uu]")
|
U = re.compile("^[Uu]")
|
||||||
|
S = re.compile("Status")
|
||||||
|
|
||||||
for str in whioisInfo:
|
for str in whioisInfo:
|
||||||
str = str.strip()
|
str = str.strip()
|
||||||
if NS.match(str) or D.match(str) or R.match(str) or U.match(str):
|
if NS.match(str) or D.match(str) or R.match(str) or U.match(str) S.match(str):
|
||||||
if "domain" in str or "Domain" in str and "Name" not in str:
|
if "domain" in str or "Domain" in str and "Name" not in str:
|
||||||
if "name" not in str and "ID" not in str:
|
if "name" not in str and "ID" not in str:
|
||||||
if "ok" in str or "OK" in str:
|
if "ok" in str or "OK" in str:
|
||||||
@ -193,10 +194,3 @@ while running == 1:
|
|||||||
soaRec = dig(inInput, "SOA")
|
soaRec = dig(inInput, "SOA")
|
||||||
print compareSOA(test, inInput, soaRec)
|
print compareSOA(test, inInput, soaRec)
|
||||||
print '\n'
|
print '\n'
|
||||||
|
|
||||||
|
|
||||||
# for whois use if "string" in to filter the output
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
Loading…
x
Reference in New Issue
Block a user