[network] netcat install in windows os

Netcat Install in Windows OS

  • Netcat is a simple Unix tool. it uses UDP , TCP Protocol.

Netcat 是一个可靠的容易被其他程序所启用的后台操作工具,同时它也被用作网络的测试工具黑客工具
使用它你可以轻易的建立任何连接。
其内建有很多实用的工具。

  • netcat 简称 nc,安全界叫它瑞士军刀。ncat 也会顺便介绍,弥补了 nc 的不足,被叫做 21 世纪的瑞士军刀。nc 的基本功能如下:
  • telnet / 获取系统 banner 信息
  • 传输文本信息
  • 传输文件和目录
  • 加密传输文件
  • 端口扫描
  • 远程控制 / 正方向 shell
  • 流媒体服务器
  • 远程克隆硬盘
  • Netcat 常用参数
  • -l: 开启监听
  • -p:指定端口
  • -t: 以telnet形式应答
  • -e:程序重定向
  • -n:以数字形式表示ip
  • -v:显示执行命令过程
  • -z : 不进行交互,直接显示结果
  • -u :使用UDP协议传输
  • -w : 设置超时时间

1 Netcat Overview

2 Usage & Practice

2.1 Install in Windows

Step1 Download

  • official download link

https://eternallybored.org/misc/netcat/

Step2 Decompression as Install

  • decompression the install package

    D:\Program Files(x86)\netcat

select turst the risk file for security software.

Step3 config os environment variables(PATH)

Step4 Test & Verify

  • win+R open the cmd.exe as window A

  • input these commands in window A:

nc -L -p 9000 -v

  • win+R open the cmd.exe as window B

  • input these commands in window B:

nc localhost 9000

  • input test for send a message to window B

the content will be shown in window A

X Reference Documents

posted @ 2023-09-08 00:27  千千寰宇  阅读(34)  评论(0编辑  收藏  举报