NetCat工具安装
NetCat
安装依赖
1 | [root@node0 netcat-0.7.1]# yum install gcc |
下载
1 | [root@node0 zhangsan]# curl -O -L http://sourceforge.net/projects/netcat/files/netcat/0.7.1/netcat-0.7.1.tar.gz |
解压
1 | [root@node0 zhangsan]# tar -zxf netcat-0.7.1.tar.gz |
1 | [root@node0 zhangsan]# cd netcat-0.7.1 |
配置
1 | [root@node0 netcat-0.7.1]# ./configure |
编译
1 | [root@node0 netcat-0.7.1]# make |
安装
1 | [root@node0 netcat-0.7.1]# make install |
使用
1 | [root@node0 netcat-0.7.1]# netcat -lp 9999 |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.