Fixed obvious fuck up

This commit is contained in:
benjamyn committed 2017-07-28 00:25:39 +10:00
1 parent 39d62ec9ea
commit 2fd49a8152
1 file changed
+1 -2
+1 -2
View File
@@ -108,7 +108,7 @@ def parseWhois(whioisInfo):
U = re.compile("^[Uu]")
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 "domain" in str:
if "ok" in str:
@@ -117,7 +117,6 @@ def parseWhois(whioisInfo):
print bcolors.RED + str + bcolors.RESET
else:
print str
print str
def whois(inDomain):
lookup = subprocess.check_output(["whois", inDomain])