网络工具 NetCat

http://netcat.sourceforge.net/

windows 版本
https://joncraton.org/blog/46/netcat-for-windows/

https://joncraton.org/files/nc111nt.zip
https://joncraton.org/files/nc111nt_safe.zip

密码nc

linux 版本

http://netcat.sourceforge.net/download.php

========================

> windows

  • 1.server,获取client 传来的数据,保存到dest.txt
nc -l -p 1234 > dest.txt
  • 2.client 发送数据a.txt到Server ip 192.168.1.170
nc 198.168.1.170 -p 1234 < a.txt

nc 198.168.1.170 1234 < a.txt

  • 使用手册
nc -h

> linux

  • server 获取数据,保存到dest.txt
nc -l 1234 > dest.txt
  • client发送数据 a.txt到192.168.1.128
nc 192.168.1.128 1234 < a.txt
  • 使用手册
man nc
原文地址:https://www.cnblogs.com/scotth/p/6392507.html