ztee - output buffer and splitter
ztee [ OPTIONS... ] [ FILE... ]
ZTee is an output buffer and splitter for use with ZMap output data. ZTee should be used whenever ZMap is piped into an application scanner, placed between ZMap and the application scanner. ZTee writes the transformed output to stdout, and writes the original output to FILE.
See --help for examples.
ZTee operates by default on CSV-format output from ZMap. It only outputs IP
addresses (from the input's ip or saddr field) to stdout, while writing all
input to the output file. ZTee does not print the first line of input to stdout,
since that row is the CSV header.
To operate on data in any other format, pass the --raw flag. In raw mode, ztee
behaves like tee: it will not transform or attempt to parse the input data.
-r, --rawIgnore input formatting and pass through raw input. This causes ztee to behave exactly like tee, with the addition of buffering.
--success-onlyOnly write to stdout rows where success=1 or success=true. Invalid
in combination with --raw.
-m, --monitorPrint monitor data to stderr
-u, --status-updates-fileWrite status updates (monitor data) to the given file, in CSV format
-l, --log-file=nameWrite errors etc. to the given file. If none, ZTee logs to stderr.
-h, --helpDisplay help
-V, --versionDisplay version