ourfor / blog

利用GitHub的Issues记录
https://github.com/ourfor/blog/issues
1 stars 0 forks source link

测试网络工具 nc #74

Open ourfor opened 2 years ago

ourfor commented 2 years ago

你的想象力限制了nc的能力

NAME
     nc – arbitrary TCP and UDP connections and listens

SYNOPSIS
     nc [-46AcDCdhklnrtUuvz] [-b boundif] [-i interval] [-p source_port] [-s source_ip_address]
        [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [--apple-delegate-pid pid]
        [--apple-delegate-uuid uuid] [--apple-ext-bk-idle] [--apple-nowakefromsleep n]
        [--apple-ecn mode] [hostname] [port[s]]

DESCRIPTION
     The nc (or netcat) utility is used for just about anything under the sun involving TCP or
     UDP.  It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports,
     do port scanning, and deal with both IPv4 and IPv6.  Unlike telnet(1), nc scripts nicely,
     and separates error messages onto standard error instead of sending them to standard output,
     as telnet(1) does with some.