某天用360的破绽检测,总共用了56分钟才检测完。
检测后果如图:
破绽修复
破绽文件:(依据报警信息,修正这些文件,并不是每集体都一样)
1、/wp-includes/registration-functions.php
2、/wp-admin/admin-functions.php
修复办法一:在以上文件的的头部 error_reporting(0);
修复办法二:找到/wp-includes/registration-functions.php文件将代码:
/**
* Deprecated. No longer needed.
*
* @package WordPress
*/
_deprecated_file( basename(__FILE__), ‘2.1’, null, __( ‘This file no longer needs to be included.’ ) );
* Deprecated. No longer needed.
*
* @package WordPress
*/
@_deprecated_file( basename(__FILE__), ’2.1′, null, __( ’This file no longer needs to be included.’ ) );
修复办法三:进入PHP.INI禁用PHP报错。
以上就是安达网络工作室关于《WordPress博客出现的**路径泄露漏洞及修复方法》的一些看法。更多内容请查看本栏目更多内容!
1 下载并解紧缩“WordPress”,英文版能够到WordPress民间网站下载,中文版能够到WordPress中文论...
wp_title 函数在 WordPress 中是用来显示文章、页面、分类等等等等题目的一个函数,但在首页索引,该函数将...
在帮King改他的公家情侣博客模版~找了一些找了,总算是把工夫显示为想要的格局了。于是将取得的一些信息记下...
本文实例讲述了WordPress完成黑白标签云的办法。分享给大家供大家参考。详细剖析如下: 黑白标签云咱们在很...
废话不多说,间接上代码复制代码代码如下:<?phprequire('./wp-blog-header.php');header("Content-type: te...
esc_html()(本义 Html) esc_html() 函数用来本义 Html 代码,让 Html 代码不本义。 用法 esc_html( $tex...