webshell 生成工具 b374k

还在为不会写webshell而感到心累?还在为webshell有后而不敢用??

b374k,我们首先去github下载b374k

https://github.com/b374k/b374k.git

在扔进虚拟机 kali,当然你也可以直接在里面下

进入目录运行index.php 运行方式 php 参数 index.php

php -f index.php
b374k shell packer 0.4

options :
        -o filename                             save as filename
        -p password                             protect with password
        -t theme                                theme to use
        -m modules                              modules to pack separated by comma
        -s                                      strip comments and whitespaces
        -b                                      encode with base64
        -z [no|gzdeflate|gzencode|gzcompress]   compression (use only with -b)
        -c [0-9]                                level of compression
        -l                                      list available modules
        -k                                      list available themes

 

 -f是帮助

我们来生成一个webshell看看怎么样 

php -f index.php -- -o shell的名字 -p shell的密码 -s -b -z gzcompress -c 9  (-s -b使用base64加密)

生成完毕,我们可以看到是用base64加密的

我们生成的php脚本我们把代码去解密掉就可以看到原来的php代码了 

加密前:

解密后:

 

posted on 2017-06-19 17:17  东京$  阅读(2930)  评论(0编辑  收藏  举报

导航