Telnet Login
Can't seem to log into world via telnet.
Tried MD5ing the password and putting it in account using mkpasswd -H MD5 -- no go. Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Username: xxx Password: xxx Login failed. |
The worldserver will accept the password if it's stored in the database as plaintext, I know that for sure. That may or may not be a risk you want to take, depending on how secure you feel your database is and who else has access to read it.
I'm not sure if MD5 is the algorithm the world server is using when it comes upon a password that's not plaintext. |
Quote:
Yeah -- I figured it out heh, it's plaintext. I read it was MD5 via searching. |
Update:
I've seen it work with a hashed password. And after checking and verifying one spot I know has a hashed password, it is an md5. When you insert your md5, are you using HEX characters to represent your md5 hash? Also, where the hex characters are alpha (a-f), use lowercase a-f and not uppercase. |
Not hex, stuff like this:
debian:~/eqemu/emu# mkpasswd -H MD5 test $1$uSnJS56S$Kmz/RlowY7Y6CMFlhpvGu/ |
That appears to be a base64 representation of your md5 hash. You need to make a Hex (base16) version. The output of a Hex representation will contain no other characters than the numeric digits 0-9 and letters a-f.
|
Quote:
cut -d '$' -f 3 you should just have the hash itself. Oh, and the string is bitwise packed as well - I suggest you look at the source in libc for the crypt function. GNU crypt uses MD5 if the salt begins '$1$', otherwise it's the old one that breaks easily. |
All times are GMT -4. The time now is 07:40 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.