网络工具NetCat学习笔记

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/zym326975/article/details/101832860

NetCat下载地址:https://eternallybored.org/misc/netcat/

创建一个服务器端方法:

nc -l -p [localport]

创建一个客户端的方法(连接服务器):

nc [remote_addr] [remoteport]

返回shell的使用

创建一个服务器端方法:

nc -l -p [localport] -e cmd.exe

 创建一个客户端的方法(连接服务器):

nc [remote_addr] [remoteport]

 文件传输

创建一个服务器端方法:

nc -l -p [localport] > outfile

创建一个客户端的方法(连接服务器):

nc [remote_addr] [remoteport] < infile

设置连接服务器等待时间:

nc -w3 [ip] [port] 

信息探测

端口扫描使用方法

Banner信息抓取

建立后门

windows建立后门使用方法

Linux建立后门的使用方法

命令参数

查看命令参数 使用nc -h

连接转发 

反弹shell

 

猜你喜欢

转载自blog.csdn.net/zym326975/article/details/101832860