Skip to content

Commit

Permalink
Fixed a minor parsing issue in the SSL Certs Module
Browse files Browse the repository at this point in the history
  • Loading branch information
aboul3la committed Dec 23, 2016
1 parent 7850789 commit 1811520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sublist3r.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,10 @@ def extract_domains(self, resp):
subdomain = link.strip()
if not subdomain.endswith(self.domain) or '*' in subdomain:
continue

if '@' in subdomain:
subdomain = subdomain[subdomain.find('@')+1:]

if subdomain not in self.subdomains and subdomain != self.domain:
if self.verbose:
self.print_("%s%s: %s%s"%(R, self.engine_name, W, subdomain))
Expand Down

0 comments on commit 1811520

Please sign in to comment.