主页 > 网站建设 > 建站知识 > dedecms5.7最新去版权的删除方法

dedecms5.7最新去版权的删除方法

POST TIME:2020-04-12 22:31

去除方法有二:
方法一,增加新变量:
在后台“系统/系统基本参数/增加新变量”,用新变量来代替默认的cfg_powerby标签。
方法二,修改源码:
通过比较6月7号的安全补丁,发现更新文件include/dedesql.class.php中下面的这段代码明显不正常,对比之前版本的include/dedesql.class.php文件,会发现最新的include/dedesql.class.php文件会多出第588到第592行的那几段代码,
$arrs1 = array(0×63,0×66,0×67,0x5f,0×70,0x6f,0×77,0×65,0×72,0×62,0×79);

$arrs2 = array(0×20,0x3c,0×61,0×20,0×68,0×72,0×65,0×66,0x3d,0×68,0×74,0×74,0×70,0x3a,0x2f,0x2f, 0×77,0×77,0×77,0x2e,0×64,0×65,0×64,0×65,0×63,0x6d,0×73,0x2e,0×63,0x6f,0x6d,0×20,0×74,0×61,0×72, 0×67,0×65,0×74,0x3d,0×27,0x5f,0×62,0x6c,0×61,0x6e,0x6b,0×27,0x3e,0×50,0x6f,0×77,0×65,0×72,0×20, 0×62,0×79,0×20,0×44,0×65,0×64,0×65,0×43,0x6d,0×73,0x3c,0x2f,0×61,0x3e);

把这段代码删除掉或者注释掉,这个问题就得以解决了。



收缩
  • 微信客服
  • 微信二维码
  • 电话咨询

  • 400-1100-266