


The -i option defines the delay interval used by nc when sending lines or scanning ports. The -c option tells nc to pass the contents of string to /bin/sh -c for execution after a client connection. The -e option tells nc to execute the a file named with the filename parameter after a client connection. The -l option tells nc to listen for incoming connections, which makes it a server process. If -u is not present, nc will be using TCP. The -u option tells nc to work in UDP mode. Supports the following command line options: Option Netcat commands have the netcat host port generic form. This version of netcat was written by a person known as Hobbit. This guide will be using the netcat binary that comes with the netcat-traditional package. Not notice any real difference between these two versions of netcat. However, if you do not need any of these features, you will Support for the -e option that allows you to execute a program from a remote shell, which is On the other hand, netcat-traditional includes Supported by the netcat-traditional variant. The OpenBSD version of netcat supports IPv6, proxies and UNIX sockets, which are not Their package descriptions and their man pages in order to get a detailed description Theĭifferences between the other two packages are not big, but you will need to visit Notice that netcat is a dummy package and its purpose is to ease upgrades. Netcat-traditional - TCP/IP swiss army knife Netcat - TCP/IP swiss army knife - transitional package If you execute apt-cache search netcat on a Debian machine, you will see the following output: apt-cache search netcat Usually both commands point to the same binary file. The netcat binary usually has an alias named nc, which is what will be used
