Support exotic tld's

This commit is contained in:
Glenn Vandamme 2016-06-10 14:08:27 +02:00 committed by GitHub
parent 4f7bbb7824
commit b6f1597713
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ def main():
enable_bruteforce = True
#Validate domain
domain_check = re.compile("^(http|https)?[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9]+)*\.[a-zA-Z]{2,5}$")
domain_check = re.compile("^(http|https)?[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9]+)*\.[a-zA-Z]{2,}$")
if not domain_check.match(domain):
print R+"Error: Please enter a valid domain"+W
sys.exit()