![]() ![]() 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. ![]() The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP. In general, a destination port must be specified, unless the -U option is given (in which case a socket must be specified). In general, a hostname must be specified, unless the -l option is given (in which case the local host is used). Hostname can be a numerical IP address or a symbolic hostname (unless the -n option is given). ** = These options are not available in all versions of Netcat, check your local man pages. z Just scan for listening daemons, without sending any data to them. Protocol is used (1080 for SOCKS, 3128 for HTTPS). If port is not specified, the well-known port for the proxy Is not specified, SOCKS version 5 is used.Ĭonnect to hostname using a proxy at proxy_address and port. '5' (SOCKS v.5) and 'connect' (HTTPS proxy). Requests that nc should use the specified protocol when talking The -w flag has noĮffect on the -l option, i.e. If a connection and stdin are idle for more than timeout seconds, u Use UDP instead of the default option of TCP. Valid values are the tokens 'lowdelay', 'throughput', 'reliability', orĪn 8-bit hexadecimal value preceded by '0x'. T ToS Specifies IP Type of Service (ToS) for the connection. This makes it possible to use nc to script telnet sessions. t Send RFC 854 DON'T and WON'T responses to RFC 854 DO and WILL requests. ![]() S Enables the RFC 2385 TCP MD5 signature option. It is an error to use this option in conjunction with the -l option. The IP of the interface which is used to send the packets. Sequentially within a range or in the order that the system assigns them. r Select the source and/or destination ports randomly instead of Specify the source port nc should use, subject to privilege n Skip all DNS or service lookups on addresses, hostnames or ports. Peer is not reachable and generating an adpative timeout Number of probes to send to the peer before declaring that the It is an error to use this option in conjunctionĪdditionally, any timeouts specified with the -w option are ignored. l Listen for an incoming connection rather than initiate a connection k Force nc to stay listening for another connection after its currentĬonnection is completed. Number of times to repeat TCP keep alive packets. Interval for repeating TCP keep alive timeouts in seconds. Initial TCP keep alive timeout in seconds. Specifies a delay time interval between lines of text sent and received.Īlso causes a delay time between connections to multiple ports. This will prevent any text being sent from a client to the server. C Force nc not to use cellular data context. Read and write data across networks - arbitrary TCP and UDP connections and listens. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |