# 漏洞分析
```
$fn=basename($_SERVER['SCRIPT_FILENAME']);
if($fn!='main.php'&&$fn!='shop.php')
include_once($config['webroot'].'/lang/'.$config['language'].'/front.php');
if(!empty($_GET['m']))
@include('module/'.$_GET['m'].'/lang/'.$config['language'].'.php');
$tpl->assign("lang",$lang);
$tpl->assign("sname",$fn);
```
在主页里m参数是可以控制的,然后通过%00截断就能够包含任意文件了
暂无评论