Joomla Mafia -> Guides -> How To -> Help! I just got hacked and cant login to admin!
Close Panel

Mafia Icons

Created with Mafia Icons
AddThis
Club Extensions
iJoomla

iwebtools

Alexa Certified Site Stats for www.joomlamafia.com

DownDoggy.com

Help! I just got hacked and cant login to admin! PDF Print E-mail
Wednesday, 13 August 2008 15:54

If you know the email address that was used, the simplest thing is to do is to use the "lost password" Front-end function if you have made it available.

You can also watch the video we have on how to do this.

If not, you will need access to the MySQL database.

You have two choices, either add a new super administrator or change the password stored in the data base. To do this you need to go to phpMyAdmin (or use a similar tool) and manually edit the database. Before doing this back up our complete database.

Run this to create a new user known as admin2.

INSERT INTO `jos_users` VALUES 
(62, 'Administrator2', 'admin2', 'your...@email.com', '21232f297a57a5a743894a0e4a801fc3',
'Super Administrator', 0, 1, 25, '2005-09-28 00:00:00', '2005-09-28 00:00:00', '', '');
INSERT INTO `jos_core_acl_aro` VALUES (10,'users','62',0,'Administrator2',0);
INSERT INTO `jos_core_acl_groups_aro_map` VALUES (25,'',10);

The password will be admin. Immediately log in and change this password.

Or

You can change the password in the table for your admin user (assuming you never changed the user name; if you have just change the instructions below to .

The password is stored in the MySQL database jos_users table password field. (change this for your table prefix if different)

Open the table, find your admin username, and then select that row for editing.

The password must be hashed, you cannot simply enter text into this field.

Set the password to a known value

- password = "this is the MD5 hashed password"
------------------------------------------------------
- admin = 21232f297a57a5a743894a0e4a801fc3
- secret = 5ebe2294ecd0e0f08eab7690d2a6ee69
- OU812 = 7441de5382cf4fecbaa9a8c538e76783

Paste the hashed password into the field, save the change, and log-in using the new password. Immediately change your password to something more secure!

You interested in having your Joomla 1.5.x site automaticly updated for you? If so check out this

Trackback(0)
Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security code
Write the displayed characters


busy
Last Updated on Wednesday, 20 August 2008 00:23
 
Page copy protected against web site content infringement by Copyscape
Copyright © 2008 . Joomla Mafia 1.5.7 Tutorials Tips Tricks & more.
Club Templates

Joomla Mafia Supporter

Joomla Mafia Supporter

Joomla Mafia Supporter

JoomlaMafia Supporter

JoomlaMafia Supporter

JoomlaMafia Supporter

Template Plazza

JoomlaMafia Supporter

Recommended Web Hosting

Site Ground

Host Gator


View my page on PickensPlan

Please Take The Poll

New Site
 
Join Our Newsletter