Jump to content
WebFlake
  • 0

Recover admin password!


Swift aka AnonyWS

Question

10 answers to this question

Recommended Posts

  • 0

Alright so let's get this straight..

 

IF You got access to FTP, you life is saved. Follow the following ( if you got access to FTP ):You'll personally need to rename the admin dir to something completely different, that you only know and just made up.

Once you've done that. You would want to remove your ACP login. So basically when you visit the ACP link, there will be no ACP login, you just "bypass" the login for ACP.

To do that, do this:Open: admin/sources/base/ipsRegistry.php and find:

$validationStatus  = self::member()->sessionClass()->getStatus();$validationMessage = self::member()->sessionClass()->getMessage();
Replace with:
$validationStatus  = true;#self::member()->sessionClass()->getStatus();$validationMessage = self::member()->sessionClass()->getMessage();self::$handles['member']->setMember(1);

Replace the number 1 with the desired member ID to log in with all the time.

 

Ok now ACP login is officially removed. BUT remember you "RENAMED" the admin cp and you only know what it is. Do go your admin cp link and there should be no login there. Now head over to members and choose your profile and override your password to something you will know more commonly.

 

I hope I helped.

  • Upvote 1
Link to comment
Share on other sites

  • 0

Make a new file in your root directory

 

Run

 

 

<?php require_once( 'initdata.php' );require_once( CP_DIRECTORY.'/sources/base/ipsRegistry.php' );$registry = ipsRegistry::instance();$registry->init(); IPSMember::updatePassword(YOUR_MEMBER_ID,'YOUR_NEW_PASSWORD');

 

 

Uhm, 

 

 

<?php
 
require_once( 'initdata.php' );
require_once( CP_DIRECTORY.'/sources/base/ipsRegistry.php' );
$registry = ipsRegistry::instance();
$registry->init();
 
IPSMember::updatePassword(1,'login123');
?>
 
tried that, horribly failed xD
Link to comment
Share on other sites

  • 0

Got in, but ho

 

Uhm, 

 

 

<?php
 
require_once( 'initdata.php' );
require_once( CP_DIRECTORY.'/sources/base/ipsRegistry.php' );
$registry = ipsRegistry::instance();
$registry->init();
 
IPSMember::updatePassword(1,'login123');
?>
 
tried that, horribly failed xD

Got in, but how do i change da password? D: i cant do it by editing member since i am admin :|

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...