Fixed obvious fuck up
This commit is contained in:
parent
39d62ec9ea
commit
2fd49a8152
3
HTTPy.py
3
HTTPy.py
@ -108,7 +108,7 @@ def parseWhois(whioisInfo):
|
|||||||
U = re.compile("^[Uu]")
|
U = re.compile("^[Uu]")
|
||||||
|
|
||||||
for str in whioisInfo:
|
for str in whioisInfo:
|
||||||
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):
|
||||||
if "domain" in str:
|
if "domain" in str:
|
||||||
if "ok" in str:
|
if "ok" in str:
|
||||||
@ -117,7 +117,6 @@ def parseWhois(whioisInfo):
|
|||||||
print bcolors.RED + str + bcolors.RESET
|
print bcolors.RED + str + bcolors.RESET
|
||||||
else:
|
else:
|
||||||
print str
|
print str
|
||||||
print str
|
|
||||||
|
|
||||||
def whois(inDomain):
|
def whois(inDomain):
|
||||||
lookup = subprocess.check_output(["whois", inDomain])
|
lookup = subprocess.check_output(["whois", inDomain])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user