Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

Anna University TNEA 2018 Rank List Published. Login to know your Rank.
Anna University April May 2018 Exam Results
Anna University Latest News , Updates and Announcements
>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

Mybb: what to do if got hacked!


hi , friends this a guide on what to do when your mybb forum got hacked! you are curious on how to get your mybb forum up and running again then these are some simple steps you can follow

Get the Control of your forum back !

Things needed to do it

1. Cpanel
2. Time to spare
3. A Infection free computer
4. Web Access

Get your Computer Infection free 

first of all get your operational computer Virus free so that any one cannot record your actions , to do so you need some tools 

1. Spybot  Scanner - To destroy the Spys in your computer - Spybot - Search And Destroy is the best freeware you can get for this

2. Malware Scanner - to Scan Malwares - Malwarebytes is also a Free Ware

3. Antivirus - Scanner for viruses - Avg - Free Antivirus


A All in one Antivirus Like Quickheal Total Sucurity

I Recommend Running This in Safe Mode to make it more effective 

To go to Safe mode in Windows

1. Switch On Your Computer
2. Press F8 Key In your Keyboard Before the Windows boot Logo Appears
3. now A bunch of options Will Appear 
4. now Select Safe mode  With networking
5. now a bunch of Commands Like Lines will Appear ,  Dont Panic , this is what Happens Behind the Windows logo .

Now After you  Scanned your Computer fully  how to get your ACP Back to you.

Things Needed

1. CPanel Access
2. Web Access 
3. FTP Software  - FileZilla

Get your ACP Back

1. Login to your CPanel 
2. Find PHP My Admin open it
3. Select Your  Mybb Database
4. Take A Backup
5. Click on SQL Tab
6. now add the following code to your .htaccess file of your server to Avoid Visitors to your Website during this process.
PHP Code:
Order deny,allow
Deny from all
Allow from Your IP Address Here

 you can  know your IP Address By Visiting Here

7. now Run The Following Query to Ensure That your Administrators Group Has access to ACP

PHP Code:
UPDATE `mybb_usergroupsSET `cancp`= '1' WHERE `gid` = '4'
 Replace Your Table Prefix with mybb if you have different one

8. now to Ensure that your Account is in Administrators Group run the following Query 

PHP Code:
 UPDATE `mybb_usersSET usergroup '4' WHERE uid 'X'

 Replace Your Table Prefix with mybb if you have different one
  Replace X With your uid 
9. now make yourself a Super admin

now Open your inc/config.php with Text editor

now find the line $config['super_admins'] = '1';

change the 1 to your uid

now to reset your pass if the hacker had changed your pass and email

run the following  Query

PHP Code:
UPDATE `mybb_usersSET `password` = '098f6bcd4621d373cade4e832627b4f6', `salt` = '' WHERE `uid` = 'X'

Replace Your Table Prefix with mybb if you have different one
  Replace X With your uid

Pass will be set to test

now you are done with rescue 

in the next tutorial i will teach how to avoid from being hacked.

[Image: An9XX.gif]

Possibly Related Threads...
Thread Author Replies Views Last Post
  Mini Stats for mybb ssparikshya 1 1,882 18-03-2013, 08:12 PM
Last Post: SRM

Superb bro.. +1 Rep added

If you Like My Thread, Please Repute Me


Superb post take this +3

"We learn from our failure, not from our success"



Recommend on Google

Vidyarthiplus Whatsapp