阿里巴巴云服务器器云盾检验 dedecms提交系统漏洞,全新 /include/uploadsafe.inc.php提交系统漏洞修补方式您共享:
第一处:在网页页面的第八行,或是检索:$cfg_not_allowall = "php|pl|cgi|asp|aspx|jsp|php3|shtm|shtml";
更换成$cfg_not_allowall = "php|pl|cgi|asp|aspx|jsp|php3|shtm|shtml|htm|html";
第二处:在网页页面的第53行,或是检索:$image_dd = @getimagesize($$_key);
在下边加:if($image_dd == false){continue;}
如:
$image_dd = @getimagesize($$_key);
if($image_dd == false){continue;}
if (!is_array($image_dd))
{
exit('Upload filetype not allow !');
备注名称:改动前请搞好备份数据。
创作者:五天互联网
阿里巴巴云服务器器云盾检验 /include/uploadsafe.i
内容版权声明:除非注明,否则皆为本站原创文章。