PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
PasswordHash

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
Althalus



Joined: 17 Feb 2006
Posts: 12

PostPosted: Mon Jul 03, 2006 11:16 am    Post subject: PasswordHash Reply with quote

Like in the topic, PasswordHash - How to decode it?

Author Message
tekproxy
Distro Developer


Joined: 06 Apr 2006
Posts: 350
Location: Nederland, Texas

PostPosted: Mon Jul 03, 2006 12:12 pm    Post subject: Reply with quote

The password hash is md5 encrypted and that's a one way encryption so it can't be decoded. If you lost your passwords you could write a program to crack it by md5 encrypting possible passwords and comparing them to the hash... or you could just change the password.

Author Message
Althalus



Joined: 17 Feb 2006
Posts: 12

PostPosted: Tue Jul 04, 2006 4:27 pm    Post subject: Reply with quote

And I cannot view user pass by smth like TargetedUser.password ?

Author Message
CWO



Joined: 04 Feb 2006
Posts: 685
Location: Chicago, IL USA

PostPosted: Wed Jul 05, 2006 7:00 am    Post subject: Reply with quote

well, if you really need to have text passwords, put into your pol.cfg

RetainCleartextPasswords=1

After that, the account must be successfully logged into for the account's password to be put into accounts.txt.

And no, there is no way to get the actual text password from within game by a reference. The only closest things are:

who.acct.checkpassword(pass) where pass is what you think the password is. It will return true or false if that was correct.

and

who.acct.setpassword(pass) where pass is what you're changing the password to.

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty