Fixed the '<BR>' issue in CrtSearch
This commit is contained in:
parent
3f5fc6da01
commit
61ebf366e0
10
sublist3r.py
10
sublist3r.py
|
|
@ -792,7 +792,14 @@ class CrtSearch(enumratorBaseThreaded):
|
|||
try:
|
||||
links = link_regx.findall(resp)
|
||||
for link in links:
|
||||
subdomain = link.strip()
|
||||
link = link.strip()
|
||||
subdomains = []
|
||||
if '<BR>' in link:
|
||||
subdomains = link.split('<BR>')
|
||||
else:
|
||||
subdomains.append(link)
|
||||
|
||||
for subdomain in subdomains:
|
||||
if not subdomain.endswith(self.domain) or '*' in subdomain:
|
||||
continue
|
||||
|
||||
|
|
@ -804,6 +811,7 @@ class CrtSearch(enumratorBaseThreaded):
|
|||
self.print_("%s%s: %s%s" % (R, self.engine_name, W, subdomain))
|
||||
self.subdomains.append(subdomain.strip())
|
||||
except Exception as e:
|
||||
print(e)
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue