PenUltima Online

It is currently Sat Aug 30, 2008 2:51 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PasswordHash
PostPosted: Mon Jul 03, 2006 7:16 am 
Offline

Joined: Fri Feb 17, 2006 5:34 pm
Posts: 12
Like in the topic, PasswordHash - How to decode it?

_________________
Master of dis(ass)ter


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 8:12 am 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 04, 2006 12:27 pm 
Offline

Joined: Fri Feb 17, 2006 5:34 pm
Posts: 12
And I cannot view user pass by smth like TargetedUser.password ?

_________________
Master of dis(ass)ter


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 05, 2006 3:00 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 745
Location: Chicago, IL USA
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl