EllisLab text mark
Advanced Search
     
Lost password
Posted: 01 August 2007 08:15 PM   [ Ignore ]
Joined: 2007-08-01
2 posts

Hi Folks,

I have been asked to look at making some changes to a website done in codeigniter. Unfortunately the client has lost her password and doesn’t know how to get into the back end of the website. Can anyone hlep us in this predicament?

We have tried contacting the original developer but they have moved to the UK, we are in New Zealand, and can’t be gotten hold of.

The Website is http://www.metpet.co.nz.

I have FTP access to the site and have looked at the file structure. I have never used codeigniter before, so any help as to how best get into the site would be much appreciated! 

Thanks,

David.

 
Posted: 01 August 2007 08:50 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2007-07-30
2144 posts

Look at the /system/application/config/database.php and get the database login info. Then login to the database and start doing some searching around for an access list or users table. It’s going to be a lot of just searching around and guess and check.

If you do come across something that looks like an admin account - update it with a new MD5 password and try and login. If that doesn’t work, update with an SHA1 password and try again.

Good luck!

 Signature 

Follow me on twitter here.
MichaelWales.com | MichaelWales.info

 
Posted: 01 August 2007 09:15 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2007-08-01
2 posts

Hi Michael,

Thanks for that, I found the password I need.

What is the path to the admin login page.

Cheers,

David.

 
Posted: 01 August 2007 09:50 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2007-07-30
2144 posts

No idea - it depends on the application. I would do some looking around in /system/application/controllers for something similar to admin.php - something like that.

 Signature 

Follow me on twitter here.
MichaelWales.com | MichaelWales.info

 
Posted: 03 August 2007 03:00 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

There isn’t a default “admin” section, but look into system/application/controllers for a list of files.  Each of these correspond to a “section”.  For example, you’ll see a “distribution”, a “advertising”, etc.  Look for one that sounds promising and type it into your browser like this

http://www.metpet.co.nz/name/

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 09 August 2007 03:17 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2007-02-25
128 posts

Many people just use an “admin” controller. Like so: http://www.yoursite.com/admin