Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   01-24-2007, 07:04 PM
Posts: n/a
Saving hacked admin ability


if your admin ability is stolen [ and all infos are changed (like e-mail and etc...)] or if you lost your password in order to re-save admin ability do followings

in order to make this you must have ability of running sql qury in phmyadmin

(suppose that your old admin name is jack and jack's userid is 1)

1-remove jack's userid from config.php (from followings)

PHP Code:
$config['SpecialUsers']['canviewadminlog'] = '1';
$config['SpecialUsers']['canpruneadminlog'] = '1';
$config['SpecialUsers']['canrunqueries'] = '1';
$config['SpecialUsers']['undeletableusers'] = '1';
$config['SpecialUsers']['superadministrators'] = '1'
2- register yourself as different name (for exapmle tespara and suppose that tespara's userid is 2007)


3- Ban jack ( using following query)
PHP Code:
UPDATE `userSET `usergroupid` = '8' WHERE `username` ='jack'  LIMIT 1 
4- add tespara' s userid into config.php

PHP Code:
$config['SpecialUsers']['canviewadminlog'] = '2007';
$config['SpecialUsers']['canpruneadminlog'] = '2007';
$config['SpecialUsers']['canrunqueries'] = '2007';
$config['SpecialUsers']['undeletableusers'] = '2007';
$config['SpecialUsers']['superadministrators'] = '2007'
5- and finally make tespara admin using following query
PHP Code:
UPDATE `userSET `usergroupid` = '6' WHERE `username` ='tespara'  LIMIT 1 
thats all.....
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Default for automatically saving PMs to sent folder Luigi vBulletin Questions 2 10-24-2007 02:56 PM
sorry admin hanzhong vBulletin Questions 2 12-05-2006 06:40 AM
Hello from an admin Kihon Introduce Yourself 8 11-27-2006 10:29 AM
Ability to edit my own hack thread. harmor Feedback and Suggestions 1 11-13-2006 06:46 AM
Google Blog Gets Hacked Brandon Search Engine News 0 10-11-2006 09:17 AM


All times are GMT -6. The time now is 04:28 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory