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代码了 

加密前:

解密后:

 

转载于:https://www.cnblogs.com/haq5201314/p/7049642.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值