Re: Login Problem - UberCMS
It has nothing to do with the auth_tickets, but with the password hashing. Change the uberhash/userhash to md5.
Re: Login Problem - UberCMS
Quote:
Originally Posted by
BaasHotel
It has nothing to do with the auth_tickets, but with the password hashing. Change the uberhash/userhash to md5.
How do I do that?
Thanks for your reply so quickly.
Will Rep!
Re: Login Problem - UberCMS
Quote:
Originally Posted by
vikingboy
How do I do that?
Thanks for your reply so quickly.
Will Rep!
I'll take a look at my own UberCMS for you, will edit my post when I found it. (:
EDIT:
Go to includes/class.users.php and search for:
And change it to:
Re: Login Problem - UberCMS
Quote:
Originally Posted by
BaasHotel
I'll take a look at my own UberCMS for you, will edit my post when I found it. (:
EDIT:
Go to includes/class.users.php and search for:
And change it to:
Thanks for your reply;
It seems that whenever I login with my old or new account it redricts me back to my localhost instead of localhost/me.php
However, when I switch back to "return sha1(md5($password) . strtolower($username));" it begins working again.
I am not using any skins or modified page items or etc. This is the standard skin and files.
What do you think?
Re: Login Problem - UberCMS
Quote:
Originally Posted by
vikingboy
Thanks for your reply;
It seems that whenever I login with my old or new account it redricts me back to my localhost instead of localhost/me.php
However, when I switch back to "return sha1(md5($password) . strtolower($username));" it begins working again.
I am not using any skins or modified page items or etc. This is the standard skin and files.
What do you think?
Does it log you in when you use md5 decryption or are you still not logged in then?
Re: Login Problem - UberCMS
Quote:
Originally Posted by
BaasHotel
Does it log you in when you use md5 decryption or are you still not logged in then?
When I have your md5 decryption it doesnt log in, it just "refreshes" the index page; for both old and new accounts.
When I switch back and login with an new account it logs me in to /me.php, but old accounts dont work.
Re: Login Problem - UberCMS
Quote:
Originally Posted by
vikingboy
When I have your md5 decryption it doesnt log in, it just "refreshes" the index page; for both old and new accounts.
When I switch back and login with an new account it logs me in to /me.php, but old accounts dont work.
Means that you still have the wrong encryption, do you know which encryption habboPHP uses?
Re: Login Problem - UberCMS
Quote:
Originally Posted by
BaasHotel
Means that you still have the wrong encryption, do you know which encryption habboPHP uses?
I can give you the auth_ticket?
Or anything you need from one of the files to look in.
But I still dont understand that when I use md5 decryption new accounts created with ubercms encryption dont work..
Re: Login Problem - UberCMS
Quote:
Originally Posted by
vikingboy
I can give you the auth_ticket?
Or anything you need from one of the files to look in.
But I still dont understand that when I use md5 decryption new accounts created with ubercms encryption dont work..
Because the new accounts are created with a sha1(md5(username * password)) encryption. So you should decide which ones you would like to keep, the old ones or the new ones? :P
Re: Login Problem - UberCMS
Quote:
Originally Posted by
BaasHotel
Because the new accounts are created with a sha1(md5(username * password)) encryption. So you should decide which ones you would like to keep, the old ones or the new ones? :P
I would like to keep the old ones.
What do I do to make it working again?
If you need any type of file from uber of habbophp, feel free to ask, or anything from db.