function bbsinformation() {
global $db, $timestamp, $tablepre, $charset, $bbname, $_SERVER, $siteuniqueid, $save_mastermobile;
$update = array('uniqueid' => $siteuniqueid, 'version' => DISCUZ_VERSION, 'release' => DISCUZ_RELEASE, 'php' => PHP_VERSION, 'mysql' => $db-> version(), 'charset' => $charset, 'bbname' => $bbname, 'mastermobile' =>
$updatetime = @filemtime(DISCUZ_ROOT.'./forumdata/updatetime.lock');
if(emptyempty($updatetime) || ($timestamp - $updatetime > 3600 * 4)) {
@touch(DISCUZ_ROOT.'./forumdata/updatetime.lock');
$update['members'] = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members");
$update['threads'] = $db->result_first("SELECT COUNT(*) FROM {$tablepre}threads");
$update['posts'] = $db->result_first("SELECT COUNT(*) FROM {$tablepre}posts");
$query = $db->query("SELECTspecial,count(*)ASspcountFROM{$tablepre}threadsGROUPBYspecial");
while($thread = $db->fetch_array($query)) {
$thread['special'] = intval($thread['special']);
$update['spt_'.$thread['special']] = $thread['spcount'];
}
}
$data = '';
foreach($update as $key => $value) {
$data .= $key.'='.rawurlencode($value).'&';
}
return 'update='.rawurlencode(base64_encode($data)).'&md5hash='.substr(md5($_SERVER['HTTP_USER_AGENT'].implode('', $update).$timestamp), 8, 8).'×tamp='.$timestamp;
}
还有admin/home.inc.php,大概193~196行(DZ6.1.0 UTF-8官方原版),这里:
复制代码代码如下:
showtablerow(' ', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_discuz_version'),
'Discuz! '.DISCUZ_VERSION.' リリース '.DISCUZ_RELEASE.' < ;a href="http://www.discuz.net/forumdisplay.php?fid=10" class="lightlink smallfont" target="_blank">'.lang('home_check_newversion').'));
虽然说这里不直接官方进行通信、但し、、、我看着不爽、想打补丁自己常去官方看就是了。还有全文件名中包含就insenz的文件、用不着话直接删除.没何用。
http://www.bkjia.com/PHPjc/320437.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/320437.html技術記事我倒不怎么关心示唆框,SABLOG怎么知道我的版本有漏洞呢,程序肯定有後门.每次登陆后台自动检测官方版本跟当前版本对比.嗯.后来找到了.在...