Describe the bug
It is unclear to me if this is a bug or some very weird async behavior but enabling the JSON module always returns approximately double the number of IPs compared to the normal output. I have tested this on multiple systems across multiple ports and shards with the exact same behavior existing in each case.
CLI Arguments
sudo zmap -p 80 --shards=250 --shard=0 --seed=1337 -o shard_0.csv
cat shard_0.csv | wc -l
243204
VS
sudo zmap -p 80 --shards=250 --shard=0 --seed=1337 -o shard_0.json --output-module=json
cat shard_0.json | wc -l
514767
Expected behavior
I think most users would expect that enabling the JSON module would only change the output type. I certainly did not expect enabling it would yield 2x the number of responses.
Environment:
- OS: Arch Linux 5.13.12-arch1-1
- Version: zmap 2.1.1
Describe the bug
It is unclear to me if this is a bug or some very weird async behavior but enabling the JSON module always returns approximately double the number of IPs compared to the normal output. I have tested this on multiple systems across multiple ports and shards with the exact same behavior existing in each case.
CLI Arguments
VS
Expected behavior
I think most users would expect that enabling the JSON module would only change the output type. I certainly did not expect enabling it would yield 2x the number of responses.
Environment: