Register for your free account! | Forgot your password?

You last visited: Today at 09:58

  • Please register to post and access all features, it's quick, easy and FREE!


[Help]Problem with AuthServer

Reply
 
Old 01/04/2012, 17:04   #16
 
elite*gold: 0
Join Date: Jul 2011
Posts: 204
Received Thanks: 27
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.



12k is offline  
Old 01/04/2012, 17:36   #17
 
elite*gold: 0
Join Date: Nov 2007
Posts: 87
Received Thanks: 0
Quote:
Originally Posted by 12k View Post
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?


kyle191 is offline  
Old 01/04/2012, 18:03   #18
 
elite*gold: 0
Join Date: Jul 2011
Posts: 204
Received Thanks: 27
Quote:
Originally Posted by kyle191 View Post
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.
12k is offline  
Old 01/04/2012, 18:12   #19
 
elite*gold: 0
Join Date: Nov 2007
Posts: 87
Received Thanks: 0
Quote:
Originally Posted by 12k View Post
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?


kyle191 is offline  
Old 01/04/2012, 18:16   #20
 
elite*gold: 0
Join Date: Jul 2011
Posts: 204
Received Thanks: 27
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.
12k is offline  
Old 01/04/2012, 18:39   #21
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,499
Its very simple to have your C# source use an MD5 hash:

MD5 Class

examples at the bottom.

Or

HMACMD5 Class

Code:
var hmacMD5 = new HMACMD5(salt);
var saltedHash = hmacMD5.ComputeHash(password);
Provided that 12k is correct of course.
Korvacs is offline  
Old 01/04/2012, 19:34   #22
 
elite*gold: 0
Join Date: Jul 2011
Posts: 204
Received Thanks: 27
Yupp,its still the same. Problem fixed.


12k is offline  
Reply



« How to make items unable to be weared except of deleting? | a proplem with Source 5165 »

Similar Threads
Authserver problem
08/29/2011 - CO2 PServer - Discussions / Questions - 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? ...
AuthServer problem.
03/06/2011 - CO2 PServer - Discussions / Questions - 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...
[HELP] Error when in AuthServer.cs
06/08/2009 - CO2 PServer - Discussions / Questions - 3 Replies
IM gettin this an error on line 31 of Auth Server http://img41.imageshack.us/img41/7368/erroreuj.png 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 PServer - Discussions / Questions - 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...



All times are GMT +2. The time now is 09:58.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.