View unanswered posts | View active topics
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
Althalus
|
Post subject: PasswordHash Posted: Mon Jul 03, 2006 7:16 am |
|
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 |
|
 |
|
tekproxy
|
Post subject: Posted: Mon Jul 03, 2006 8:12 am |
|
 |
| Distro Developer |
 |
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 |
|
 |
|
Althalus
|
Post subject: Posted: Tue Jul 04, 2006 12:27 pm |
|
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 |
|
 |
|
CWO
|
Post subject: Posted: Wed Jul 05, 2006 3:00 am |
|
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 |
|
 |
|
Page 1 of 1
|
[ 4 posts ] |
|
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
|
|