robertdavidgraham / masscan

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

[suggestion] Switch to msgpack for binary output #616

Open postmodern opened 3 years ago

postmodern commented 3 years ago

Instead of maintaining a custom binary output format, masscan could use libmsgpack to encode/decode the binary data from/to the struct fields.

postmodern commented 3 years ago

Msgpack support could be added as an optional output format (ex: -oM?) and then eventually -oB would switch to msgpack format or possibly be deprecated.