robertdavidgraham / masscan

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

add an -oA option to save in all formats like nmap. #733

Open gprime31 opened 9 months ago

gprime31 commented 9 months ago

add an -oA option to save in all formats like nmap.

mzpqnxow commented 7 months ago

add an -oA option to save in all formats like nmap.

I agree this could be a nice convenience for some but the best way to accomplish itin my opinion is to always write to the binary format (-oB) which is lossless and efficient on disk

Then, afterwards, convert as needed to each format using:

masscan --readscan out.bin -oD out.ndjson
masscan --readscan out.bin -oX out.xml
...