Logging in

Permalink
Good Afternoon,

I have been asked to help login to my girlfriends website,

http://www.pinkpartyshop.co.uk

Unfortunately she dos not know any login details and when we submit the password reste to her email address it states that it has been sent and has never arrived.

Is there anyway around this

Thanks for all your help
Ben

 
mnakalay replied on at Permalink Best Answer Reply
mnakalay
Hello,
You can use this toolhttps://github.com/mkly/concrete5-Lockpick...
Pinkpartyben replied on at Permalink Reply
Hello,
Thanks thats all installed,

Do you know where i can find the username ?
Basically the web builder went Bankrupt and my GF doesn't have any of the details.

i Managed to find out it was concrete5 with whatruns

Cheers
Ben
mnakalay replied on at Permalink Reply
mnakalay
When using Concrete5 there is what is called a superuser. That user has the absolute control over everything and cannot be limited in any way. That's what you need.
The username for the superuser in your version of C5 is always "admin" (without the quotes)
Pinkpartyben replied on at Permalink Reply
Thanks
I have just tried this and it comes up with page not found ??

Did anything need changing in the code which i put in the c5lockpick.php file ?

Thanks
Ben
mnakalay replied on at Permalink Reply
mnakalay
is the file concrete5lockpick.php next to index.php or did you put it somewhere else?
Pinkpartyben replied on at Permalink Reply 1 Attachment
next to it
pls see attached screenshot
Pinkpartyben replied on at Permalink Reply
and the change password screen comes up when you put in the url
mnakalay replied on at Permalink Reply
mnakalay
I'm a bit confused. Are you saying that you can see the concrete5lockpick screen to change the password but then when you try it, it gives you a page not found error? or do you have a page not found error when you try to get to the concrete5lockpick screen?
mnakalay replied on at Permalink Reply
mnakalay
Forget about that, let's just do it an easier way.
Open the file index.php in an editor or text app (not Word or anything like that of course)
inside, all there is should be
<?php
require('concrete/dispatcher.php');

You are going to modify it like this
<?php
define('C5_EXECUTE', 1);
define('C5_ENVIRONMENT_ONLY', 1);
require('concrete/dispatcher.php');
$ui = UserInfo::getByUserName("admin");
$ui->changePassword("123456");
echo 'done, password changed';


You replace 123456 with whatever password you want and save your file.
Then you visit your website, any page you want. And instead of your site you should see that message "done, password changed"

When that's done, you delete the modification so once agin your index.php file only has
<?php
require('concrete/dispatcher.php');

in it
And now you can visit your site and login with username admin and your new password
Pinkpartyben replied on at Permalink Reply
Yes it went to the username and new password screen and confirm new password but when you pressed that button it stated page not found

I have just followed the above and instead of password changed etc every page was just blank
and if you go to pinkpartyshop.co.uk/login and enter admin and the password it still doesnt allow it to work ??
Pinkpartyben replied on at Permalink Reply
im doing this in WinSCP ? and clicking edit on the file thats ok i take it? then saving!
mnakalay replied on at Permalink Reply
mnakalay
Something seems wrong with your site. If you want send me the ftp access by private message and I'll have a look later today.