|
You last visited: Today at 18:18
Advertisement
[Help]Problem with AuthServer
Discussion on [Help]Problem with AuthServer within the CO2 Private Server forum part of the Conquer Online 2 category.
01/04/2012, 17:04
|
#16
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
Lol, you commented with the same type of response as I did, since you were wanting to cover all outcomes, I was expanding from there. The Server=localhost or Server=127.0.0.1 or Server= will cover 99 percent of all outcomes. If it doesn't cover them, then they have obviously changed it previously and know where it is lol.
&Can't believe you felt the need to comment on both of your posts.
|
|
|
01/04/2012, 17:36
|
#17
|
elite*gold: 0
Join Date: Nov 2007
Posts: 87
Received Thanks: 0
|
Quote:
Originally Posted by 12k
You need to add it to your connection string... So use control + F, make sure the bottom box is set to Entire Solution. Then search for Server=127.0.0.1, or Server=localhost. Put it at the end of that string.
|
Thank you very much, this worked! I now need to configure other tables, so that registering with vbulletin registers to the game server.
I ran into another problem which I thought I would, vBuletin encrypts passwords, conquer login doesn't recognize the encryption =/
Any idea's?
EDIT: The authserver reads the decryption, I write in the password "test" to login the game and the AuthServer reads it as the decryption. Just seems the client isn't logging in?
|
|
|
01/04/2012, 18:03
|
#18
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
Quote:
Originally Posted by kyle191
Thank you very much, this worked! I now need to configure other tables, so that registering with vbulletin registers to the game server.
I ran into another problem which I thought I would, vBuletin encrypts passwords, conquer login doesn't recognize the encryption =/
Any idea's?
EDIT: The authserver reads the decryption, I write in the password "test" to login the game and the AuthServer reads it as the decryption. Just seems the client isn't logging in?
|
vBulletin uses a MD5 hash with a salt attached to it. I don't believe you will be able to figure it out. Not to try to sound like a douche, just trying to be realistic. But in simple terms, this is how it works:
Password = MD5 Hash ( MD5 Hash ( True Password ) + Salt)
The salt is stored in the user table under the field "salt".
(Its been years since ive messed with the vbulletin hash, so it may of changed)
But in simple terms, after the rc5 decryption of the password in the source, you will then need to re-encrypt it using this method, then check it with the value in the database. Too much code to make a whole walk through on here.
|
|
|
01/04/2012, 18:12
|
#19
|
elite*gold: 0
Join Date: Nov 2007
Posts: 87
Received Thanks: 0
|
Quote:
Originally Posted by 12k
vBulletin uses a MD5 hash with a salt attached to it. I don't believe you will be able to figure it out. Not to try to sound like a douche, just trying to be realistic. But in simple terms, this is how it works:
Password = MD5 Hash ( MD5 Hash ( True Password ) + Salt)
The salt is stored in the user table under the field "salt".
(Its been years since ive messed with the vbulletin hash, so it may of changed)
But in simple terms, after the rc5 decryption of the password in the source, you will then need to re-encrypt it using this method, then check it with the value in the database. Too much code to make a whole walk through on here.
|
No you don't sound like a douche, you are probably right. I really don't want to stop here. I know I can't really mess around with vBulletin files as i will have errors left right and center.
You are correct, there is a salt database table, this has a hash code "@~/i{S;B1#(mS2vZ/7Yd\uOZ%EK7~G" lol.
I really don't want to stop here, but I doubt I will figure this out.
Is there a much simpler way you can think of?
|
|
|
01/04/2012, 18:16
|
#20
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
Nope, thats the only way to really do it. You cant edit it in vbulletin because it has several different files that use it. If you would like, send me ur msn over PM and ill see what I can do.
|
|
|
01/04/2012, 18:39
|
#21
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Its very simple to have your C# source use an MD5 hash:
examples at the bottom.
Or
Code:
var hmacMD5 = new HMACMD5(salt);
var saltedHash = hmacMD5.ComputeHash(password);
Provided that 12k is correct of course.
|
|
|
01/04/2012, 19:34
|
#22
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
Yupp,its still the same. Problem fixed.
|
|
|
 |
|
Similar Threads
|
Authserver problem
08/29/2011 - CO2 Private Server - 5 Replies
I can't seems to find the problem with my authserver, but it's stucked at "Logging into Account server".
It connects fine to the server, but it seems like I might structured something wrong in the packets?
Or I forgot to make something?
Screenshot of my codes:
http://i.min.us/iElqeNCQxq15A.png
http://i.min.us/ioG5G9hUq9J63.png
|
AuthServer problem.
03/06/2011 - CO2 Private Server - 4 Replies
#Problem solved.
This can be closed.
|
AuthServer De/En ?
11/20/2010 - CO2 Programming - 4 Replies
First of all i wanna say hello to every1.
And after reading lots of information about conquer cryptograpgy cant figure out what exactly encryption/decryption loginserver use?
Somethig similar to XOR encryption ? what exactly?
If i dont know that exactly it is then i cant write my proxy.
I`ve read pro4ever thread but there is only explanation how proxys works and almost zero about how to create it (i dont need that some1 give me full code of proxy).
|
[HELP] Error when in AuthServer.cs
06/08/2009 - CO2 Private Server - 3 Replies
IM gettin this an error on line 31 of Auth Server
http://img41.imageshack.us/img41/7368/erroreuj.pn g
This is my AuthServer.cs
/*
* Created by SharpDevelop.
* User: sams
* Date: 3/8/2009
* Time: 2:19 PM
*
|
AuthServer password encryption
04/26/2009 - CO2 Private Server - 1 Replies
Well thought it would fit in this section.
Most of the sources I seen works this way: the first time an account login, it takes the "encrypted" password received and set it in the database. I've been trying to figure the encryption used, but with no success, my ASM skills just sucks.
So, could anyone decent with assembler/debugging help me with this?
|
All times are GMT +1. The time now is 18:18.
|
|