[Solved]: Password & hash [Solved]: Password & hash
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Password & hash

Started by Kymmy, November 08, 2009, 10:28:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kymmy

Hi guys,

Currently have cpg1.4 set-up with a bridge to phpbb3. Everything has worked fine upto me messing around with the server, now I need to alter a few settings especially the bridge and although I know all the bridged phpbb3 passwords I've very stupidly forgotten the true admin password.

URL= www.xtz750.com/cpg/

If anyone needs to confirm my ID I can be reached on admin@xtz750.com

What I'm after is a password and hash that I can put in via phmyadmin to allow myself into the original non-bridged admin account that as I said earlier I've very stupidly forgotten..

Kymmy..

phill104

Firstly, upgrade as you are running <!--Coppermine Photo Gallery 1.4.22 (stable)--> while the current release is 1.4.25.

For the answer to your question, search the board for lost admin password as this has been asked many times before.

To create an md5 simply google "md5 generator".
It is a mistake to think you can solve any major problems just with potatoes.

Kymmy

Phil,

Thank you very much, I wasn;t sure if the password was salted and as I've tried previous password and ended up in the 'delay' cycle I thougt I'd ask

I take it thought at the passwords are purely MD5 due to your answer.

ThanX Kymmy

phill104

Yep, just plain md5. As I said, there are a few ways to recover a lost admin password. There is even a simple little php script available on this site " adminpass.php ". Just search for it if you struggle.

I'll mark your thread as solved. In future, click the little tick to mark your own threads as solved. It helps other users find good answers.

Remember to upgrade. The version you are running has some known serious security holes that have since been plugged.
It is a mistake to think you can solve any major problems just with potatoes.

Kymmy

I tried admin pass but it seemed to not like any password username of anything but ADMIN (where as mine is set to cpgadmin )

Not marked it as solved YET as I'm still waiting for the delay countdown (currently at 2000 seconds :( )

Joachim Müller

You haven't upgraded as suggested!

Kymmy

Quote from: Joachim Müller on November 08, 2009, 11:31:52 PM
You haven't upgraded as suggested!

Give me a chance Joachim ;)

As soon as I get access to the cpgadmin account I'll sort out the upgrade ASAP. CPG isn't a major part of the site and has been purely an image store, but got big plans for it. Yes stupid not to upgrade ASAP but had other priorities and other admins who havn't done thier job :(

BTW guys, I know that usually you get a load of cr@p but I'd personally like to say thanks for a great product and I wish you all the best in the future :)

Kymmy

Kymmy

MD5 in the db changed but still 1200 seconds to go, can I buy a round of drinks whilst we're waiting?? Corn Schnapps perhaps??? :)

Joachim Müller

Quote from: Kymmy on November 08, 2009, 11:36:38 PMAs soon as I get access to the cpgadmin account I'll sort out the upgrade ASAP.
Admin access is not needed to perform an upgrade. No excuses please.

Kymmy

Quote from: Joachim Müller on November 08, 2009, 11:39:13 PM
Admin access is not needed to perform an upgrade. No excuses please.

Yes no excuses as relevant, I should have upgraded and it is in the end my fault, but that doesn't exclude or prevent my existing predicement which is admin access..

Kymmy

PS..now 340 seconds to go :)

Kymmy

Though after this 2000+ second delay I have now temp set the logon attemps via phpmyadmin to 999 (from 5) THough I will set it back to 5 (or less) once I have access..

Kymmy

OK, now I'm cracking up :(

Used an MD5 generator to convert

g65drl

into an MD hash and got

05673b18644d1c31cc7d8140a650d765

But cpg doesn't like it :(

Any suggestion guys for this poor lonely desperate girl??

phill104

First go through the upgrade procedure.

The reason you still cannot login is because you are still bridged. You were changing the coppermine password but because you were bridged coppermine was still looking at the forum app for its login. At least you were until I tried running bridgemgr.php. Oddly, it just went through an disabled the bridge though I am not sure why.

Now it is very important for you to do exactly what I say next and do it quickly.

1: Delete adminpass.php
2: Login and change the password set by adminpass.php, you know, the one that came up in the message.
3: Upgrade, right now, this instant.
4: Once you have upgraded as per the docs check to see if there are any users in coppermin that you don't recognise (just in case)
5: Restore your bridge when required.

At the moment you are very vunerable. So do all the above this instant.
It is a mistake to think you can solve any major problems just with potatoes.

Kymmy

Yes boss!!!

Will upgrade, then go to bed, sleep as I've been upgrading software and mods and everything else all day since 8am ;)


Kymmy

Upgraded to the latest 1.4.25 (yes I know you said .22 was stable but it's currently not a live site until I sought out some issues)

Used an MD5 online crack to finally sort out the password ..

Guys thanks for your help but eyes are trying to close atm, This problem is solved (can't see the little solved tick box that Phill mentioned)

In the morning might have another question as I've moved phpbb3 from the domain root to a directory off root and the logout still points to the old directory but that's a whole other thread and forum I believe.

Night, night guys :)

Joachim Müller

Quote from: Kymmy on November 09, 2009, 12:27:47 AMyes I know you said .22 was stable but it's currently not a live site until I sought out some issues
That's not what he said. In fact, he said quite the opposite:
Quote from: Phill Luckhurst on November 08, 2009, 10:55:42 PMFirstly, upgrade as you are running <!--Coppermine Photo Gallery 1.4.22 (stable)--> while the current release is 1.4.25.

Quote from: Kymmy on November 09, 2009, 12:27:47 AMcan't see the little solved tick box that Phill mentioned
I'll mark this thread accordingly then, but believe me: that tickbox image is there, or rather: was there, as I'm locking this thread.

Quote from: Kymmy on November 09, 2009, 12:27:47 AMIn the morning might have another question
Another question goes into anpther thread, as we have a strict "one issue per thread" policy that you agreed to respect when signing up.