robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
23.26k stars 3.04k forks source link

Invalide JSON output #122

Closed ghost closed 9 years ago

ghost commented 9 years ago

The output of the JSON file is not valide. The quotes on the names are missing.

wrong: { ip: "194.134.XXX.XXX", ports: [ {port: 80, proto: "tcp", status: "open", reason: "syn-ack", ttl: 59} ] }

should be: { "ip": "194.134.XXX.XXX", "ports": [ {"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 59} ] }

lukebeer commented 9 years ago

re-pull your sources, it's been fixed, here: https://github.com/robertdavidgraham/masscan/pull/111

ghost commented 9 years ago

Awesome. Thanks!