Seraina Posted May 30, 2018 Share Posted May 30, 2018 Hello the old webmaster don't give us the logindetails. Can someone tell me the sitename where usually the loginsite exists and is there a possibility to change or look at the username and password in phpmyadmin? Thanks very much for your help! Regards, Seraina Link to comment Share on other sites More sharing options...
pwired Posted May 30, 2018 Share Posted May 30, 2018 What is the url of the website ? Link to comment Share on other sites More sharing options...
Seraina Posted May 30, 2018 Author Share Posted May 30, 2018 http://www.hand-kunstwerk.ch/ Link to comment Share on other sites More sharing options...
pwired Posted May 30, 2018 Share Posted May 30, 2018 Yes it looks like a legit processwire website You will need ftp access to regain login details Link to comment Share on other sites More sharing options...
pwired Posted May 30, 2018 Share Posted May 30, 2018 But since this is your second post and anyone could ask this question . . . . . . . . . . . . . Best way is to contact the hosting company of that website and ask them for help. 1 Link to comment Share on other sites More sharing options...
bernhard Posted May 30, 2018 Share Posted May 30, 2018 Put this in your home.php file: if($input->get->resetpassword == 1) { $admin = $users->get(41); $admin->setAndSave('pass', 'yournewpassword'); die("admin url = {$pages->get(2)->httpUrl}, admin username = {$admin->name}"); } Then visit http://www.yoursite.com/?resetpassword=1 and remove this code snippet when you are done!! 6 Link to comment Share on other sites More sharing options...
pwired Posted May 30, 2018 Share Posted May 30, 2018 Thanks Bernhard for stepping in on this. I wasn´t sure how to reply on this situation. 1 Link to comment Share on other sites More sharing options...
Seraina Posted June 5, 2018 Author Share Posted June 5, 2018 Thanks a lot Bernhard for your help! With this code I could find out the admin name and the loginsite. I also tried to change the code, so I could find out the password. It really gave me one, but unfortunatly it didn't worked. If someone know where I could find the password (phpmyadmin or ftp files) it would be very thankful! Link to comment Share on other sites More sharing options...
zoeck Posted June 5, 2018 Share Posted June 5, 2018 The Password is saved hashed... you cannot get it with phpmyadmin or ftp... But with the code from bernhard, you set a new password with this line: $admin->setAndSave('pass', 'yournewpassword'); And on your site, the new password should be "yournewpassword" ? Just test this password with your admin account (and change it!!!) 1 Link to comment Share on other sites More sharing options...
Seraina Posted June 5, 2018 Author Share Posted June 5, 2018 Ohh okey I did nont realise that! Thanks a lot guys, it worked! ? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now