<?php
include_once '../common/myDir.php';
include_once '../common/setting.php';
if(isset($_GET['all'])){
ob_clean();
$res=getConfig();
$data=array_iconv($res);
echo json_encode($data);
}
function array_iconv($arr, $in_charset="gbk", $out_charset="utf-8")
{
$ret = eval('return '.iconv($in_charset,$out_charset,var_export($arr,true).';'));
return $ret;
}
?>
家人们,这段php代码被360杀毒提示ex_webshell,为什么啊?无语了
就直接转到白名单,或者忽略,就行了