
congtust24
Well-Known Member
Vip
Bài viết này xin chia sẻ với các bạn phương pháp để có thể tự Null 1 bản vBulletin. Nào bắt đầu nhé, xin lưu ý là bạn hãy thay thế đoạn "license_key" bằng số license key của bạn, ở đây tôi dùng trong ví dụ là "Anh2_GDV" . Đầu tiên ta mở file admincp/index.php rồi tìm:
tiếp tục tìm:
thay thế bằng đoạn sau:
tiếp tục tìm:
tiếp tục tìm:
an toàn hơn nữa thì nếu không ngại bạn có thể xóa tiệt luôn cả đoạn dưới cùng của các file đi nữa, ví dụ:
Nguồn: Được viết bởi Anh2
PHP:
// ################################ MAIN FRAME ############################# if ($_REQUEST['do'] == 'home') { print_cp_header($vbphrase['welcome_to_the_vbulletin_admin_control_panel']); // there have been problems reported with fsockopen() in some PHP versions. // this should work around it though if (phpversion() < '4.3.0' OR phpversion() > '4.3.2' OR @ini_get('allow_url_fopen') != 1) { $fp = @fsockopen('version.vbulletin.com', 80, $errno, $errstr, 3); } else { $fp = @fopen('http://version.vbulletin.com', 'r'); } if ($fp) { fclose($fp); ?> http://version.vbulletin.com/versioncheck.js"> http://version.vbulletin.com/version.js?id=Anh2_GDV"> thay thế bằng đoạn sau: [php] // ################################ MAIN FRAME ############################# if ($_REQUEST['do'] == 'home') { print_cp_header($vbphrase['welcome_to_the_vbulletin_admin_control_panel']);
PHP:
print_label_row($vbphrase['useful_links'], ' -- ' . $vbphrase['useful_links'] . ' --' . construct_select_options(array( 'vBulletin' => array( 'http://www.vbulletin.com/' => $vbphrase['home_page'] . ' (vBulletin.com)', 'http://www.vbulletin.com/members/' => $vbphrase['members_area'], 'http://www.vbulletin.com/forum/' => $vbphrase['community_forums'], 'http://www.vbulletin.com/docs/html/' => $vbphrase['reference_manual']
PHP:
print_label_row($vbphrase['useful_links'], ' -- ' . $vbphrase['useful_links'] . ' --' . construct_select_options(array(
PHP:
// ************************************* // vBULLETIN CREDITS require_once('./includes/vbulletin_credits.php'); ?> thay thế bằng đoạn sau: [php] // ************************************* // vBULLETIN CREDITS require_once('./includes/vbulletin_credits.php'); echo $reminders['script']; unset($DEVDEBUG); print_cp_footer(); }
PHP:
// ################################ NAVIGATION FRAME ############################# if ($_REQUEST['do'] == 'nav') { require_once('./includes/adminfunctions_navpanel.php'); print_cp_header(); echo "\n"; ?> thay thế bằng đoạn sau: [php] // ################################ NAVIGATION FRAME ############################# if ($_REQUEST['do'] == 'nav') { require_once('./includes/adminfunctions_navpanel.php'); print_cp_header(); echo "\n"; ?> tiếp tục tìm: [php] // ###################################################################### ####### // ################################# HEADER FRAME ############################## // ###################################################################### ####### if ($_REQUEST['do'] == 'head') { ignore_user_abort(true); define('IS_NAV_PANEL', true); if (phpversion() < '4.3.0' OR phpversion() > '4.3.2' OR @ini_get('allow_url_fopen') != 1) { $fp = @fsockopen('version.vbulletin.com', 80, $errno, $errstr, 3); } else { $fp = @fopen('http://version.vbulletin.com', 'r'); } $headjs = ''; if ($fp) { fclose($fp); $headjs = ''; } print_cp_header('', '', $headjs); ?> (vBulletin ) document.write(construct_phrase('', vb_version)); | thay thế bằng đoạn sau: [php] // ###################################################################### ####### // ################################# HEADER FRAME ############################## // ###################################################################### ####### if ($_REQUEST['do'] == 'head') { ignore_user_abort(true); define('IS_NAV_PANEL', true); $headjs = ''; print_cp_header('', '', ''); ?> (vBulletin 3.0.7) | Đến đây chưa save file này lại được đâu nhé để khi thực hiện cài đặt hay setting tools không bị đòi license key ta tiếp tục thực hiện bước sau, tiếp tục tìm: error_reporting(E_ALL & ~E_NOTICE); [php] if (VB_AREA !== 'Upgrade' AND VB_AREA !== 'Install') { exit; } // ###################################################################### ####### define('CUSTOMER_NUMBER', trim(strtoupper('Anh2_GDV'))); // ###################################################################### ####### if ($_POST['do'] == 'login') { $customerid = trim(strtoupper($_POST['customerid'])); if ($customerid == CUSTOMER_NUMBER) { //vbsetcookie('customerid', $customerid, 0); setcookie('bbcustomerid', $customerid, 0, '/', ''); // set the style folder if (empty($vboptions['cpstylefolder'])) { $vboptions['cpstylefolder'] = 'vBulletin_3_Default'; } $redirect = $_POST['redirect']; if (strpos('?', $redirect) === false) { $redirect .= '?'; } else { $redirect .= '&'; } $redirect .= 'rand=' . rand(0, 1000); print_cp_header('', '', ""); ?>
rồi thay thế bằng: [php] error_reporting(E_ALL & ~E_NOTICE); if (VB_AREA !== 'Upgrade' AND VB_AREA !== 'Install') { exit; } if ($_POST['do'] == 'login') { // set the style folder if (empty($vboptions['cpstylefolder'])) { $vboptions['cpstylefolder'] = 'vBulletin_3_Default'; } $redirect = $_POST['redirect']; if (strpos('?', $redirect) === false) { $redirect .= '?'; } else { $redirect .= '&'; } $redirect .= 'rand=' . rand(0, 1000); print_cp_header('', '', ""); ?> Customer number entered successfully.
Remove Your customer Number'...
Save lại được rồi đó . Để an toàn cho bạn nếu như bạn dùng chính phiên bản của mình để Null đó thì nhớ phải xóa hết số License Key trong tất cả các files của mã nguồn đi nhé( nó nằm trên cùng của file đó ), ví dụ: [php] / *===================================================================== =* || #################################################################### || || # vBulletin 3.6.0 - Licence Number Anh2_GDV || # ---------------------------------------------------------------- # || || # Copyright ©2000–2004 Jelsoft Enterprises Ltd. All Rights Reserved. || || # This file may not be redistributed in whole or significant part. # || || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || || # [URL]http://www.vbulletin.com[/URL] | [URL]http://www.vbulletin.com/license.html[/URL] # || || #################################################################### || & #092;*================================================================ ======*/
PHP:
/ *===================================================================== =* || #################################################################### || # Downloaded: 13:29, Sat Nov 19th 2006
Last edited: