Register for your free account! | Forgot your password?

You last visited: Today at 00:16

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

Advertisement



New DH Exchange

Discussion on New DH Exchange within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
New DH Exchange

Upon working on my old proxy, there is not much of changes in encryption except that the DH key exchange manipulation of changing the public key from proxy will not work anymore. It seems that the client has a defined and fixed public key already which can't be altered by the packets during initial handshake.

Code:
                System.Buffer.BlockCopy(Encoding.ASCII.GetBytes(Me.GameCrypthSP.PublicKey), 0, _
                                        buffer, KeyOffset, Me.GameCrypthSP.PublicKey.Length)
                Me.GameCrypthCP.Encrypt(buffer)
                sharedkey = Me.GameCrypthCP.ComputeKey(Me.ClientPublicKey)
This packet will cause the client to disconnect once I will change the public key on that packet to the public key generated from Game-Proxy DH exchange.

I think the client and game server has a fixed public key which will then compared to the public key that it receive from first packet from game server. Do I need to check the public key from the memory of conquer client and how?
xmen01235 is offline  
Old 06/14/2012, 19:37   #2
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
All the new KeyExchange is, is how the key is computed, it's just an MD5 hash o.o
_DreadNought_ is offline  
Thanks
2 Users
Old 06/15/2012, 01:24   #3
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by _DreadNought_ View Post
All the new KeyExchange is, is how the key is computed, it's just an MD5 hash o.o
Yep. =| TQ uses MD5 for all of their hashes.
I was wondering when someone would finally state that.
Spirited is offline  
Old 06/16/2012, 07:22   #4
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Quote:
Originally Posted by _DreadNought_ View Post
All the new KeyExchange is, is how the key is computed, it's just an MD5 hash o.o
Ohh thanks.
xmen01235 is offline  
Reply


Similar Threads Similar Threads
exchange gold to silk and exchange gold ^^
07/27/2011 - Silkroad Online Trading - 37 Replies
Liking the title, we can help you exchange gold to silk (epin-card).what's more?we can also help you exchange gold from one server to another server . contact ways: Email/MSN: [email protected] Yahoo! Messenger: [email protected] AOL AIM: [email protected] Skype:
Help exchange bug
06/18/2011 - SRO Private Server - 1 Replies
I play on a pserver but i just wanted to know how people do the exchange bug with s/s without exchanging the guy. I dunno if that made sense but the help is appreciated!
LoL exchange
05/27/2011 - League of Legends - 6 Replies
WTT LoL acc lvl 30 all champions full runes 2 warwick skin for a hon account [email protected]



All times are GMT +2. The time now is 00:16.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.