熊海cms-chp2

代码审计

点击查看代码
<?php
//单一入口模式
error_reporting(0); //关闭错误显示
$file=addslashes($_GET['r']); //接收文件名
$action=$file==''?'index':$file; //判断为空或者等于index
include('files/'.$action.'.php'); //载入相应文件
?>
这里是admin下面的index.php 一样的利用方法
posted @ 2023-04-11 07:23  Dr0se  阅读(2)  评论(0)    收藏  举报