xTremeSurfer Posted September 26, 2012 Report Posted September 26, 2012 (edited) Tutorial written for vbwarez.net by UnstucKNeeded files: install/vbulletin-upgrade.jsinstall/upgrade_language_en.xmlinstall/includes/class_upgrade_ajax.phpYou 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.jsSearch 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 lineWe are done with that file !II) upgrade_language_en.xmlSearch 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 fileIII) class_upgrade_ajax.phpSearch 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 ofparent::init();$this->custnumber = xxxxxxxxxxxxxxxxxxxxxxxxx$this->registry->input->clean_array_gpc('p', array(You will haveparent::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.phpFind: $errors["$directory"]["$file"][] = $this->phrase['core']['file_contents_mismatch'];Remove that lineOk now execute /install/install.phpSursa : Hack ForumsEditat Edited September 27, 2012 by xTremeSurfer Quote
PassaMan Posted September 27, 2012 Report Posted September 27, 2012 L-ai copiat in scarba asa... pune si tu unde trebuie, pune bold, etc... fa-l frumos.Oricum, felicitari. Quote