Loading doc/masscan.8.markdown +5 −0 Original line number Diff line number Diff line Loading @@ -205,6 +205,11 @@ one port. equivelents, but require a separate step to convert back into XML or another readable format. * `--readscan <binary-files>`: reads the files created by the `-oB` option from a scan, then outputs them in one of the other formats, depending on command-line parameters. In other words, it can take the binary version of the output and convert it to an XML or JSON format. ## CONFIGURATION FILE FORMAT Loading src/in-binary.c +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ struct MasscanRecord { unsigned short port; unsigned char reason; unsigned char ttl; enum ApplicationProto app_proto; enum ApplicationProtocol app_proto; }; Loading src/out-binary.c +1 −0 Original line number Diff line number Diff line #include "output.h" #include "masscan.h" #include "masscan-app.h" #include "out-record.h" /**************************************************************************** Loading src/output.h +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ #include <time.h> #include "main-src.h" #include "unusedparm.h" #include "masscan-app.h" struct Masscan; struct Output; Loading Loading
doc/masscan.8.markdown +5 −0 Original line number Diff line number Diff line Loading @@ -205,6 +205,11 @@ one port. equivelents, but require a separate step to convert back into XML or another readable format. * `--readscan <binary-files>`: reads the files created by the `-oB` option from a scan, then outputs them in one of the other formats, depending on command-line parameters. In other words, it can take the binary version of the output and convert it to an XML or JSON format. ## CONFIGURATION FILE FORMAT Loading
src/in-binary.c +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ struct MasscanRecord { unsigned short port; unsigned char reason; unsigned char ttl; enum ApplicationProto app_proto; enum ApplicationProtocol app_proto; }; Loading
src/out-binary.c +1 −0 Original line number Diff line number Diff line #include "output.h" #include "masscan.h" #include "masscan-app.h" #include "out-record.h" /**************************************************************************** Loading
src/output.h +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ #include <time.h> #include "main-src.h" #include "unusedparm.h" #include "masscan-app.h" struct Masscan; struct Output; Loading