码迷,mamicode.com
首页 > Web开发 > 详细

netcat nc

时间:2016-06-07 08:51:39      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:

 

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

 

[root@bass ~]# tar -xjvf netcat-0.7.1.tar.bz2

[root@bass ~]# cd netcat-0.7.1
[root@bass ~]# ./configure --prefix=/usr/local/netcat
[root@bass ~]# make && make install
[root@bass ~]# 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
[root@bass ~]# 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

标签:

原文地址:http://www.cnblogs.com/bass6/p/5565772.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!