Jump to content
xTremeSurfer

[How to] Nulling vBulletin Forum 4.2.0

Recommended Posts

Posted (edited)



Tutorial written for vbwarez.net by UnstucK



Needed files:

install/vbulletin-upgrade.js
install/upgrade_language_en.xml
install/includes/class_upgrade_ajax.php

You need a retail release first, as soon as you have it, please protect yourself or the owner of that copy !

With notepad ++, replace vBulletin 4.2.0 - SERIAL SHIT by vBulletin 4.2.0 ONLY ! (remove the licence number everywhere, using the search in files feature in notepad++)

This is an optional step of course, here we go for nulling vBulletin !

I) vbulletin-upgrade.js

Search for:



var postdata = [SIZE=2]"ajax=1&status=1&" + PHP.urlencode(CUSTNUMBER);[/SIZE]


Replace with:


var postdata = [SIZE=2]"ajax=1&status=1&";[/SIZE]



Search for:


"&customerid=" + PHP.urlencode(CUSTNUMBER) +


Remove that line

We are done with that file !

II) upgrade_language_en.xml

Search for:


<phrase name="enter_install_system">


Keep that line and remove everything until


<phrase name="redirecting"><=!=[=C=D=A=T=A=[Redirecting...]=]=></phrase>


Keep that last line, just remove everything between !

So basically what we need to remove is:


<phrase name="enter_cust_num"><=!=[=C=D=A=T=A=[Please Enter Your Customer Number]=]=></phrase>
<phrase name="customer_number"><=!=[=C=D=A=T=A=[Customer Number]=]=></phrase>
<phrase name="cust_num_explanation"><=!=[=C=D=A=T=A=[This is the number with which you log in to the vBulletin.com Members' Area]=]=></phrase>
<phrase name="cust_num_success"><=!=[=C=D=A=T=A=[Customer number entered successfully.]=]=></phrase>



We are done with that file

III) class_upgrade_ajax.php

Search for:


private $custnumber = '';


Remove that line and it's comment

> Full content that need to be removed:


/**
* Customer Number
*
* @var string
*/
private $custnumber = '';


Search for:


$this->custnumber =


Remove that entire line !

So instead of


parent::init();
$this->custnumber = xxxxxxxxxxxxxxxxxxxxxxxxx
$this->registry->input->clean_array_gpc('p', array(


You will have


parent::init();

$this->registry->input->clean_array_gpc('p', array(


Search for:


$this->registry->input->clean_array_gpc('c', array(
'bbcustomerid' => TYPE_STR,
));


Remove it !

Search for:


if ($this->registry->GPC['bbcustomerid'] != $this->custnumber)
{
$xml = new vB_AJAX_XML_Builder($this->registry, 'text/xml', vB_Template_Runtime::fetchStyleVar('charset'));
$xml->add_tag('error', $this->phrase['authenticate']['cust_num_incorrect']);
$xml->print_xml();
}


Remove it !

Search for:


$proceed = false;
if ($this->registry->GPC['bbcustomerid'] != $this->custnumber)
{
if ($this->login())
{
$proceed = true;
}
}
else
{
$proceed = true;
}


Remove everything except the $proceed = true; in the middle !

So you will have the following :


$this->registry->input->clean_array_gpc('r', array(
'version' => TYPE_NOHTML,
'startat' => TYPE_UINT,
'step' => TYPE_UINT,
'only' => TYPE_BOOL,

));

$proceed = true;

if ($proceed)
{
if ($this->registry->GPC['version'] AND $this->versions[$this->registry->GPC['version']])


Search for:


* Display Login
*
* @return boolean login success
*/
private function login()
{
if (isset($_POST['customerid']))
{
$this->registry->input->clean_array_gpc('p', array(
'customerid' => TYPE_NOHTML,
));
if (md5(strtoupper($this->registry->GPC['customerid'])) == $this->custnumber)
{
setcookie('bbcustomerid', $this->custnumber, 0, '/', '');
return true;
}
else
{
$this->htmloptions['login'] = true;
$this->htmloptions['loginerror'] = true;
return false;
}
}
else
{
$this->htmloptions['login'] = true;
return false;
}
}


Remove it !

Search for:


var CUSTNUMBER = "<?php echo $this->custnumber; ?>";


Remove it !

Search for:


<div class="tborder<?php if (!$this->htmloptions['login']) { echo " hidden"; } ?>" id="authenticate">
<div class="navbody messageheader"><?php echo $this->phrase['authenticate']['enter_cust_num']; ?></div>
<div class="messagebody logincontrols">
<?php echo $this->phrase['authenticate']['cust_num_explanation']; ?>
<form action="<?php echo $this->setuptype; ?>.php" method="post">
<input type="text" tabindex="1" value="" name="customerid" id="customerid" />
<?php if ($this->htmloptions['loginerror']) { ?><div id="customerid_error" class="navbody"><?php echo $this->phrase['authenticate']['cust_num_incorrect']; ?></div><?php } ?>
<input class="button" type="submit" tabindex="1" accesskey="s" id="authsubmit" value="<?php echo $this->htmloptions['enter_system'] ?>" />
<?php echo $hiddenfields ?>
</form>
</div>
</div>


Remove it !

Search for:


<a href="http://www.vbulletin.com/" target="_blank" class="copyright">


Remove it ! [remove also the </a> below]
We are done with that file !

Found how to remove lame errors on install / upgrade process !

File: install/includes/class_upgrade.php

Find: $errors["$directory"]["$file"][] = $this->phrase['core']['file_contents_mismatch'];

Remove that line


Ok now execute /install/install.php

Sursa : Hack Forums

Editat

Edited by xTremeSurfer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...