ZTEE(1)
β¨ ZTEE(1) β the ztee manual, bestie edition β¨
okay so welcome to ztee, a page from the ztee manual, and honestly? she's an icon π
πΈ NAME πΈ
ztee β output buffer and splitter π
π¦ SYNOPSIS π¦
ztee [ OPTIONS... ] [ FILE... ]
π DESCRIPTION π
So ZTee is an output buffer and splitter made for vibing with ZMap output data. The way that you're supposed to use her: whenever ZMap is piped into an application scanner, you put ZTee between ZMap and the application scanner. Like a little bouncer at the door π«Ά
ZTee writes the transformed output to stdout, and writes the original output to FILE. Two jobs, both slaying, no cap.
Run --help for examples. fr fr, she said it herself.
π CSV PROCESSING AND RAW MODE π
By default ZTee operates on CSV-format output from ZMap. Default behavior lowkey does this: it only outputs IP addresses to stdout (pulled from the input's ip or saddr field), while writing all of the input to the output file. And ZTee does not print the first line of input to stdout, because bestie... that row is the CSV header π
Wanna operate on data in literally any other format? Pass the --raw flag β¨ In raw mode, ztee behaves like tee: she will not transform, and she will not attempt to parse the input data. She just vibes and passes it through.
π OPTIONS π
π BASIC OPTIONS π
-r,--rawβ Ignore input formatting and pass through raw input. This makes ztee behave exactly liketee, except with the addition of buffering. Periodt.--success-onlyβ Only write tostdoutthe rows wheresuccess=1orsuccess=true. Invalid in combination with--rawβ like, do not do that, she will not be happy π-m,--monitorβ Print monitor data tostderrπ-u,--status-updates-fileβ Write status updates (monitor data) to the given file, in CSV format π-l,--log-file=nameβ Write errors etc. to the given file. If there's none, ZTee logs tostderrπ
β¨ ADDITIONAL OPTIONS β¨
-h,--helpβ Display help π«Ά-V,--versionβ Display version β
π SIGN-OFF π
This iconic little page is brought to you by ZMap, dated November 2023, and it's the ZTEE(1) manual. Go buffer something, bestie πβ¨π¦
π¦ where this page comes from
- alpine 3.22: zmap-doc 4.2.0-r0 Β· Apache-2.0
- alpine 3.23: zmap-doc 4.3.4-r0 Β· Apache-2.0
- alpine 3.24: zmap-doc 4.3.4-r0 Β· Apache-2.0
- arch rolling: zmap 4.4.0-1 Β· Apache-2.0
- epel 10: zmap 4.4.0-1.el10_3 Β· Apache-2.0
- epel 9: zmap 4.3.4-1.el9 Β· Apache-2.0
- fedora 43: zmap 4.3.1-1.fc42 Β· Apache-2.0
- fedora 43: zmap 4.4.0-1.fc43 Β· Apache-2.0
- fedora 44: zmap 4.3.4-2.fc44 Β· Apache-2.0
- fedora 44: zmap 4.4.0-1.fc44 Β· Apache-2.0
- nixos 26.05: zmap 4.3.4
- nixpkgs unstable: zmap 4.4.0
- ubuntu resolute: zmap 4.3.4-1 Β· Apache-2.0
- ubuntu stonking: zmap 4.3.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms