某天用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博客出现的**路径泄露漏洞及修复方法》的一些看法。更多内容请查看本栏目更多内容!
register_nav_menus()(注册菜单) register_nav_menus() 函数用来注册一个菜单,菜单指的是 WordPress 3.0...
找到wp-includes/comment-template.php文件中 复制代码代码如下:if ( empty( $url ) || 'http://' == $url ...
概述 最近买了台效劳器,预备搭建集体博客,来继续更新本人的博客, 环境 效劳器操作零碎:CentOS 7.0 ...
自己wordpress版本:wordpress-3.7.1。 wordpress后盾: 外观==》菜单 左侧咱们能够看到:页面、链接、分类...
wp_list_categories 函数是 WordPress 中用来列举零碎中分类的函数,该函数领有许多管制输入的参数,明天忽...
最近忽然发现博客的评论楼层有点成绩,之前不断设置的是“在每个页面顶部显示新的评论”,也就是所谓的倒序...