1ZTEE(1) ztee ZTEE(1)
2
3
4
6 ztee - output buffer and splitter
7
9 ztee [ OPTIONS... ] [ FILE... ]
10
12 ZTee is an output buffer and splitter for use with ZMap output data.
13 ZTee should be used whenever ZMap is piped into an application scanner,
14 placed between ZMap and the application scanner. ZTee writes the trans‐
15 formed output to stdout, and writes the original output to FILE.
16
17 See --help for examples.
18
20 ZTee operates by default on CSV-format output from ZMap. It only out‐
21 puts IP addresses (from the input´s ip or saddr field) to stdout, while
22 writing all input to the output file. ZTee does not print the first
23 line of input to stdout, since that row is the CSV header.
24
25 To operate on data in any other format, pass the --raw flag. In raw
26 mode, ztee behaves like tee: it will not transform or attempt to parse
27 the input data.
28
30 BASIC OPTIONS
31 -r, --raw
32 Ignore input formatting and pass through raw input. This causes
33 ztee to behave exactly like tee, with the addition of buffering.
34
35 --success-only
36 Only write to stdout rows where success=1 or success=true. In‐
37 valid in combination with --raw.
38
39 -m, --monitor
40 Print monitor data to stderr
41
42 -u, --status-updates-file
43 Write status updates (monitor data) to the given file, in CSV
44 format
45
46 -l, --log-file=name
47 Write errors etc. to the given file. If none, ZTee logs to
48 stderr.
49
50 ADDITIONAL OPTIONS
51 -h, --help
52 Display help
53
54 -V, --version
55 Display version
56
57
58
59
60ZMap September 2017 ZTEE(1)