# anyserial **Repository Path**: MrWQ1/anyserial ## Basic Information - **Project Name**: anyserial - **Description**: 一个PHP的反序列化工具 - **Primary Language**: PHP - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-12-16 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # anyserial #### 介绍 一个PHP的反序列化工具. 目前支持以下框架的部分版本反序列化payload生成: ```txt thinkphp 5.0.x, 5.1, 5.1.41, 6.x laravel 5.8, 8, 8.x pagekit: 1.0.18 yii2: 2.0.37 ``` #### 安装教程 git clone https://gitee.com/any0ne-sec/anyserial #### 使用说明 php anyserial.php list //查看支持的命令 ![listcmd](https://gitee.com/anicekid/mdimages/raw/master/anyserial/images/listcmd.png) php anyserial.php help //查看某个命令的使用说明 ![helpcmd](https://gitee.com/anicekid/mdimages/raw/master/anyserial/images/helpcmd.png) php anyserial.php thinkphp 5.0.x whoami //基本的生成一个payload ![tp50x](https://gitee.com/anicekid/mdimages/raw/master/anyserial/images/tp50x.png) php anyserial.php thinkphp 5.1 whoami -e url //将生成的payload编码后输出 ![tp50xurl](https://gitee.com/anicekid/mdimages/raw/master/anyserial/images/tp50xurl.png) Linux下可以创建程序的软连接,然后使用程序名来执行,如下 ```txt sudo ln -s /anyserial.php /usr/bin/anyserial anyserial list ```