function updatebadwords($get, $post){
// Discuz uc.key泄露导致代码注入漏洞
if(substr($v['findpattern'], 0, 1) != '/' || substr($v['findpattern'], -3) != '/is') {
$v['findpattern'] = '/' . preg_quote($v['findpattern'], '/') . '/is';
// -- end : 2016-08-22 --
$data['findpattern'][$k] = $v['findpattern'];
function updateapps($get, $post) {
// $UC_API = $post['UC_API']; // 注释
$UC_API = str_replace(array('\'', '"', '\\', "\0", "\n", "\r"), '', $post['UC_API']);
评论前必须登录!
注册