netcat nc 学习
来源:互联网 发布:linux运行vi命令 编辑:程序博客网 时间:2024/05/21 18:48
netcat nc 学习
本文主要参考文章:
http://www.g-loaded.eu/2006/11/06/netcat-a-couple-of-useful-examples/
好,下面上货。
我使用的系统是centos6.8。
1、首先需要安装nc
yum install nc
2、使用nc的聊天功能
在服务器端使用-l进行端口的监听:
nc -l 1234
在客户端使用nc ip port 进行连接并且聊天
nc host1 1234
3、文件传输
在传输端使用命令
cat file | nc -l 5678
或者
nc -l 5678 < file
在接收端使用命令
nc host1 5678 >filename
4、端口检测,检查端口是否开启
nc -z 192.168.1.101 3000-4000
0 0
- netcat nc 学习
- nc (netcat)
- netcat,nc小介绍
- linux nc命令 <netcat>
- Linux nc (netcat) 详解
- Linux nc (netcat) 详解
- Linux nc (netcat) 详解
- linux nc命令 <netcat>
- Netcat使用手册(nc)
- Linux nc (netcat) 详解
- nc.exe(Netcat) 瑞士军刀
- NC(NetCat)命令详解
- Linux nc (netcat) 详解
- Linux nc (netcat) 详解
- <NetCat> nc命令详解
- 瑞士军刀nc/netcat命令
- netcat nc ncat
- 【Linux】 nc (netcat) 详解
- 指定浏览器打开网站
- Active Record 设计模式原理及简单实现
- Android TestView使用Html设置字体
- Spark Streaming的容错和数据无丢失机制
- 凸多边形最优三角剖分
- netcat nc 学习
- 安装pywin32报错
- Centos 6.5 Postgresql搭建eclipse开发环境
- 手动建库11.2.0.4
- linux文件查找
- 欢迎使用CSDN-markdown编辑器
- DES加密的详解
- Spring AOP 实现原理
- 闭锁CountDownLatch的用法