phpok最新版(phpok4.2.024)一处盲注+后台getshell

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: RT ### 详细说明: 文件/framework/www/post_control.php 26-38行 ``` function index_f() { $id = $this->get("id"); $pid = $this->get('pid'); if(!$id && !$pid) { error(P_Lang('未指定项目'),'','error'); } $project_rs = $this->call->phpok('_project',array("phpok"=>$id,'pid'=>$pid)); if(!$project_rs || !$project_rs['module']) { error(P_Lang("项目不符合要求"),'','error'); } ``` id和pid传进来了, phpok('_project',array("phpok"=>$id,'pid'=>$pid)); 跟进phpok /framework/phpok_call.php ``` function phpok($id,$rs="") { if(!$id) return false; $cacheId = ''; $content = ''; if($rs && is_string($rs)) parse_str($rs,$rs); //判断是否启用缓存,启用后直读缓存信息 if($GLOBALS['app']->cache->status()) { $cacheId = $GLOBALS['app']->cache->key(array('id'=>$id,'rs'=>$rs),$this->site['id'],"call"); $content = $GLOBALS['app']->cache->read($cacheId); } if($content) return $content; //判断是内置参数还是调用数据中心的数据 if(substr($id,0,1) != '_') { $call_rs = $GLOBALS['app']->model('call')->get_rs($id,$this->site['id']); if(!$call_rs) return false;...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息