blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.08k stars 460 forks source link

Fix domain extraction in crt.py #68

Closed LeandroPereiraDaCruz closed 4 years ago

LeandroPereiraDaCruz commented 4 years ago

Problem

I've found a bug when running ctr.py. This domain is properly extracted from crt.sh:

<tr>subdomain.example.com</tr>

But these domains are ignored:

<tr>subdomain1.example.com<br>subdomain2.example.com</tr>

Solution

The query parameter output=json was added and all domains were extracted correctly.