netcat nc

Posted 运维工匠实战(如果发现有错误请大家把正确的方法发送给我,方便

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了netcat nc相关的知识,希望对你有一定的参考价值。

 

http://pan.baidu.com/s/1bo2IH9X#netcat  云盘下载

 

[[email protected] ~]# tar -xjvf netcat-0.7.1.tar.bz2

[[email protected] ~]# cd netcat-0.7.1
[[email protected] ~]# ./configure --prefix=/usr/local/netcat
[[email protected] ~]# make && make install
[[email protected] ~]# tree /usr/local/netcat/
/usr/local/netcat/
├── bin
│   ├── nc -> netcat
│   └── netcat
├── info
│   ├── dir
│   └── netcat.info
├── man
│   └── man1
│       └── netcat.1
└── share
    └── locale
        ├── it
        │   └── LC_MESSAGES
        │       └── netcat.mo
        └── sk
            └── LC_MESSAGES
                └── netcat.mo

10 directories, 7 files
[[email protected] ~]# nc -h
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
	  [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
	  [-x proxy_address[:port]] [hostname] [port[s]]
	Command Summary:
		-4		Use IPv4
		-6		Use IPv6
		-D		Enable the debug socket option
		-d		Detach from stdin
		-h		This help text
		-i secs		Delay interval for lines sent, ports scanned
		-k		Keep inbound sockets open for multiple connects
		-l		Listen mode, for inbound connects
		-n		Suppress name/port resolutions
		-p port		Specify local port for remote connects
		-r		Randomize remote ports
 		-S		Enable the TCP MD5 signature option
		-s addr		Local source address
		-T ToS		Set IP Type of Service
		-C		Send CRLF as line-ending
		-t		Answer TELNET negotiation
		-U		Use UNIX domain socket
		-u		UDP mode
		-v		Verbose
		-w secs		Timeout for connects and final net reads
		-X proto	Proxy protocol: "4", "5" (SOCKS) or "connect"
		-x addr[:port]	Specify proxy address and port
		-z		Zero-I/O mode [used for scanning]
	Port numbers can be individual or ranges: lo-hi [inclusive]

 

以上是关于netcat nc的主要内容,如果未能解决你的问题,请参考以下文章

NC / Netcat - 反弹Shell

Netcat-NC 工具的使用

netcat nc

Netcat

nc 命令

Linux 网络工具netcat(nc)的应用