Support exotic tld's
This commit is contained in:
parent
4f7bbb7824
commit
b6f1597713
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue