Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2005, 09:36 AM
Acolyte
Sarnak
 
Join Date: May 2002
Location: Oakland, CA
Posts: 83
Default 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 Acolyte
Reply With Quote
  #2  
Old 12-31-2005, 06:48 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

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.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #3  
Old 12-31-2005, 07:06 AM
Acolyte
Sarnak
 
Join Date: May 2002
Location: Oakland, CA
Posts: 83
Default

Quote:
Originally Posted by RangerDown
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.

Yeah -- I figured it out heh, it's plaintext. I read it was MD5 via searching.
__________________
The Acolyte
Reply With Quote
  #4  
Old 12-31-2005, 07:30 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

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.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #5  
Old 12-31-2005, 11:08 AM
Acolyte
Sarnak
 
Join Date: May 2002
Location: Oakland, CA
Posts: 83
Default

Not hex, stuff like this:

debian:~/eqemu/emu# mkpasswd -H MD5 test
$1$uSnJS56S$Kmz/RlowY7Y6CMFlhpvGu/
__________________
The Acolyte
Reply With Quote
  #6  
Old 12-31-2005, 02:48 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

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.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #7  
Old 01-02-2006, 12:26 PM
johane
Sarnak
 
Join Date: Sep 2005
Location: Gold Coast, Oz
Posts: 69
Default

Quote:
Originally Posted by RangerDown
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.
Actually the hash is all the stuff after the 3rd '$' sign. The '$1$' at the start is a sig for a MD5 hash. The stuff up to the 3rd '$' is a salt to be used for hashing a possible client password. Try piping the string you've got through :

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.

Last edited by johane; 01-02-2006 at 08:29 PM..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:54 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3