Merge pull request #13 from Glennvd/patch-1

Support exotic tld's
This commit is contained in:
Ahmed Aboul-Ela 2016-06-10 18:05:30 +03:00 committed by GitHub
commit c10a20c706
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()