nc Introduction

What is nc
nc is netcat shorthand, Switzerland has a network of community ××× world. Because it is short and pithy, functional and practical, it is designed to be a simple, reliable network tool

nc effect of
(1) to achieve any TCP / UDP port listener, nc as TCP or UDP server in listening mode specified port
(2) of the port scan, nc as TCP or UDP client sends a connection
(3) of the machine file transfer between
(4) between the machine speed network
number nc of the control parameters, several parameters used are listed below:
. 1) -l
specifies the nc in the listening mode. This parameter is specified, it means that nc is treated as server, listening and accepting connections, rather than initiate a connection to other addresses.
2) -p <port>
Write uses (the old version nc -p parameters may need to add before the port number, the following test environment is centos6.6, nc version nc-1.84, unused parameter -p)
3 ) -s
source IP address of the transmission data for the multi card machine
4) -u
designated nc UDP protocol, the default is the TCP
-v. 5)
is particularly useful when the output or error message interaction, novice debugging
6) -w
timeout seconds number followed by number
7) -z
represents a ZERO, no data is transmitted during a scanning

Guess you like

Origin blog.51cto.com/14449563/2429416