Skip to content

Commit

Permalink
Fix a case where the domain includes *.
Browse files Browse the repository at this point in the history
  • Loading branch information
jolle committed Jun 24, 2017
1 parent 0bd42c4 commit 2e6a4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aquatone/collectors/crtsh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def run
response = get_request("https://crt.sh/?dNSName=%25.#{url_escape(domain.name)}")

response.body.to_enum(:scan, /<TD>([a-zA-Z0-9_.-]+\.#{domain.name})<\/TD>/).map do |column|
add_host(column[0])
add_host(column[0].gsub("*.", ""))
end
end
end
Expand Down

0 comments on commit 2e6a4da

Please sign in to comment.