commit
c10a20c706
|
|
@ -645,7 +645,7 @@ def main():
|
||||||
enable_bruteforce = True
|
enable_bruteforce = True
|
||||||
|
|
||||||
#Validate domain
|
#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):
|
if not domain_check.match(domain):
|
||||||
print R+"Error: Please enter a valid domain"+W
|
print R+"Error: Please enter a valid domain"+W
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue