CmsEasy getshell(略鸡肋)

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

### 简要描述: rt ### 详细说明: 利用条件:文章必须通过后台审核(必须列表审核),有点鸡肋了。 CmsEasy\lib\default\archive_act.php: 411行 show_action()函数 里有句 ``` if (front::get('t') == 'wap') { $tpl = category::gettemplate($this->view->catid, 'showtemplatewap'); if(!$tpl) $tpl = 'wap/show.html'; $this->out($tpl); return; } if ($template && file_exists(TEMPLATE . '/' . $this->view->_style . '/' . $template)) $this->out($template); ``` out函数的作用就是包含模板,由于函数很长我就不贴上来了。 往上看我们发现这个 ``` $template变量 ``` 通过查询archive得来, ``` $this->view->archive = archive::getInstance()->getrow(front::get('aid')); //aid 取值 if (!is_array($this->view->archive)) $this->out('message/error.html'); if ($this->view->archive['checked'] < 1)//必须通过审核 exit(lang('未审核!<a href="'.front::$from.'">返回</a>')); if (!rank::arcget(front::get('aid'), $this->view->usergroupid)) { $this->out('message/error.html'); } //........省略 $template = @$this->view->archive['template']; ``` 我们在找找有没有插入的点 lib\default\manage_act.php add_action函数 ``` if(front::post('submit')...

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