Skip to content

Commit

Permalink
Support exotic tld's
Browse files Browse the repository at this point in the history
  • Loading branch information
Glennvd authored Jun 10, 2016
1 parent 4f7bbb7 commit b6f1597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sublist3r.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b6f1597

Please sign in to comment.