Jump to content

Question

4 answers to this question

Recommended Posts

  • 0
Posted

Hello! yes, im using hAuthD ...

 

but i have this problem:

 

in hAuthD.ini i set ... MD5Password = 1

 

i added the md5password column in user_auth table...

 

when i loggin the root account for example it save the md5 password:

 

root= dc67bad8744357fa7b96bc0cdf059003

 

But... when i use md5('root') in php for example result

root= 63a9f0ea7bb98050796b649e85481845

 

 

and using the php script made by hAuthD:

 

<?php
function hCrypt($password)
{
   $md5password = 'key';
   $s = md5($password) . md5($md5password);
   $j = 0;
   for ($i = 0; $i < strlen($s); $i++)
   {
      if ($j >= strlen($md5password)) $j = 0;
      $s[$i] = $s[$i] ^ $md5password[$j];
      $j++;
   }
   return md5($s);
}
?>

 

result:

 

root= fd3ce9abc7d425c22152824d8e0b079d

 

This is variable with "KEY" but... in the config files, the KEY isn't configurable.

 


[MSSQL]
Server = 127.0.0.1
User = sa
Password = testpassword
Database = lin2db
SlowQuery = 100

[Tables]
server = server

[Main]
ServerPort = 2104
ServerExPort = 2106
BlowfishKey = 6B60CB5B82CE90B1CC2B6C556C6C6C6C
;For C4: BlowfishKey = 5F3B352E5D39342D33313D3D2D257854215E5B2400
Title =

[L2J]
IP =
Protocol = $103
FixedPorts = 1

[Log]
Auth = 1
Guard = 1
All = 0
DB = 0

[Online]
Multiplier = 1,0
UserCount = 5
Interval = 30

[Admin]
Password = admin
IP = *

[Adv]
EULA = 1
Test = 0
TestServers =
C4 = 0
MaxConnectionsPerIP = 3
AntiDOS = 1
AntiBrute = 0
AntiBruteIP = 0
MD5Simple = 0
SHA1 = 0
Proxy =
AutoReloadFiles = 0
AutoReloadServers = 0
GameProxyMasterStatus = 1

[Ext]
Mask = 0
MD5Password = 1
ExecLogin = 0
Guard = 0

[AntiBrute]
Interval = 90
Penalty = 180
MaxAttempts = 5

[AntiBruteIP]
Interval = 90
Penalty = 300
MaxAttempts = 10
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock