1 Star 0 Fork 4

cyworks/WDScanner

forked from 无语少年/WDScanner 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
file.php 372 Bytes
Copy Edit Raw Blame History
tidesec authored 2019-02-13 13:15 . Update code
<?php
function ld_Checkpath($str)
{
$arr = array("\\","/","..",":");
foreach ($arr as $k)
{
if(stristr("$str","$k")) exit();
}
return $str;
}
$hash = ld_Checkpath($_GET['p']);
$basedir = dirname(__FILE__);
#echo $basedir;
$path = $basedir."/report/$hash/export.xml";
#echo $path;
if (is_file($path)){
echo file_get_contents($path);
}else{
echo "null";
}
?>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cyworks/WDScanner.git
git@gitee.com:cyworks/WDScanner.git
cyworks
WDScanner
WDScanner
master

Search