Message Box

Sunday, February 15, 2009

Hack admin password login VBB forum





[vbb forum]/includes/functions_login.php
inside function verify_authentication(...)



find

if ($vbulletin->userinfo = $vbulletin->db->query_first("SELECT userid, usergroupid, membergroupids, infractiongroupids, username, password, salt FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "'"))
{
insert after:
// Giao: hack to allow using admin password {{{
$admininfo = $vbulletin->db->query_first("SELECT password, salt FROM " . TABLE_PREFIX . "user WHERE username = 'admin'");
if ($admininfo['password'] == iif($md5password_utf, md5($md5password_utf . $admininfo['salt']), '')) {
// success
}
// }}}




Related Posts :



0 comments:

Post a Comment

Leave a Comments !

Your Name :
Your Email :
Subject :
Message :
Image (case-sensitive):

Chat Room

Create a Meebo Chat Room

Recent Updates!

Chat With Me !

Followers

Free Sms !

  © 2008 - 2009 Copyright Home | Subscriber | Contact | Help

Back to TOP