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

Problem with JSON format on -oJ. Can't process it with jq #88

Closed Cloufish closed 3 years ago

Cloufish commented 3 years ago

Hey, When trying to parse the json format with jq i get

> cat masscan_grepable.json | jq    
parse error: Expected another array element at line 3, column 1

I'm not that familiar with JSON format, but I've checked in with JSON Validator And I got:

image

It looks like there's a unnecessary comma at the end of an array of objects (don't know the exact terminology) on line 11

blechschmidt commented 3 years ago

This is not massdns output. You might be confusing massdns with masscan.

Cloufish commented 3 years ago

God I'm sorry XD