blechschmidt / massdns

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

Simple csv output #48

Closed infosec-it-init closed 4 years ago

infosec-it-init commented 4 years ago

Thanks for your nice tool to quickly resolve tons of domains. It is however not very easy to further process the "plain answers" with the existing output options. Therefore I added another option "simple csv" to easily parse and process the answers per domain.

blechschmidt commented 4 years ago

Thank you for your contribution. Currently, I do not want to add any additional output formats like CSV because maintaining the various types of output formats is already a pain with everyone having different requirements. However, I have overhauled the NDJSON output to be similar to the output of zdns. This should allow for better processing.

Your suggestion to output the final failures has been implemented by https://github.com/blechschmidt/massdns/commit/cf60a8e78ea65398be9e7da88db3d953d99263e9. An additional e flag needs to specified as part of the --output parameter.