MyBB Community Forums
Administrator Account Issue - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Security Management and Support (https://community.mybb.com/forum-179.html)
+--- Thread: Administrator Account Issue (/thread-160405.html)



Administrator Account Issue - SSN_ATomIC - 2014-09-29

So my forum went through a very strange attack deleting the Administrator account... How would I go about fixing this because I'm having to make forum changes through phpmyadmin -_- It's getting painful. Please Help!


RE: Administrator Account Issue - BaggerHD - 2014-09-29

Try this

http://community.mybb.com/thread-140625.html


RE: Administrator Account Issue - SSN_ATomIC - 2014-09-29

Not understanding nor working.


RE: Administrator Account Issue - fakhrul - 2014-09-30

try to create new user with admin privileges by using phpmyadmin / sql query


RE: Administrator Account Issue - dragonexpert - 2014-09-30

If you have made it so at least one usergroup can access the Admin CP place yourself in that group. You can check which groups can by running this query:
SELECT * FROM mybb_usergroups WHERE cancp=1

Make sure also in your /inc/config.php file that your uid is in the $config['super_admins'] variable.

Then create a file in the directory of your forum with this:
<?php
define("IN_MYBB", 1);
define("NO_ONLINE", 1);
require_once "global.php";
$cache->update_usergroups();
$cache->update_forumpermissions();
echo "Cache's updated.";
?>

Check if you are able to view the Admin CP after that. If you can, go ahead and delete the file you just created so no one can use it.


RE: Administrator Account Issue - SSN_ATomIC - 2014-10-01

(2014-09-30, 01:19 PM)dragonexpert Wrote: If you have made it so at least one usergroup can access the Admin CP place yourself in that group.  You can check which groups can by running this query:

SELECT * FROM mybb_usergroups WHERE cancp=1

Make sure also in your /inc/config.php file that your uid is in the $config['super_admins'] variable.

Then create a file in the directory of your forum with this:

<?php
define("IN_MYBB", 1);
define("NO_ONLINE", 1);
require_once "global.php";
$cache->update_usergroups();
$cache->update_forumpermissions();
echo "Cache's updated.";
?>

Check if you are able to view the Admin CP after that.  If you can, go ahead and delete the file you just created so no one can use it.

I'm a bit of a noob when it comes to MySQL and crap. Could you walk me through this briefly? When I try signing in through AdminCP it asks for an E-Mail or Username and Password which I can't seem to insert or find in the database...

EDIT:

I also run Steam Logins and completely removed regular registration from the menu... What's the link?

Also, here is my forum that I'm having issues with: http://sereneservernetwork.com/forum


RE: Administrator Account Issue - .m. - 2014-10-01

^ see SQL queries guidance


RE: Administrator Account Issue - neq3hosting - 2014-10-04

If you have a backup, i would restore it and take some time to secure your installation to prevent it from happening again.