masscan icon indicating copy to clipboard operation
masscan copied to clipboard

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

Open gprime31 opened this issue 2 years ago • 1 comments

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

gprime31 avatar Oct 04 '23 13:10 gprime31

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
...

mzpqnxow avatar Nov 24 '23 19:11 mzpqnxow

I think this can be resolved. This can be done very easily in the way I described, and it's efficient as it preserves space while still being lossless

mzpqnxow avatar Feb 23 '25 20:02 mzpqnxow