Register for your free account! | Forgot your password?

You last visited: Today at 05:25

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

Advertisement



Client Cryption....

Discussion on Client Cryption.... within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
MixedCoder's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 8
Received Thanks: 2
Client Cryption....

after sending the auth info
IP,PORT,AccID,Token

the client response in the old client we was just decrypting wat the client is sending ....

now in the latest clients i hard there is something called TQKey or something idk how it's really going with the new clients so can please someone explain to me how it's going?

thnx
MixedCoder is offline  
Old 05/02/2011, 04:52   #2
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
if i wasent wrong and you meant the current patch when you said (latest clients)

than yes there is something that should work as a key (loginkey),

for me im doing it almost like this ,

uint LoginKey = (uint)Rand.Next(1, 999999);
or
public static uint loginkey = 1;
where ever you have the uint.loginkey++;

and connect the logingkey to the client somehow idk something like Client.LoginKey = LoginKey ;

add the client to some dictionary

Dictionary<uint, Client> AuthorizedClients = new Dictionary<uint, Client>();
AuthorizedClients.Add(Client.UID, Client);

or maybe a list<Client> AuthorizedClients = new list<Client>();
AuthorizedClients.Add(Client);

and send the AuthResponse Packet with the client loginkey added
the offset is 8 thats where the key goes
uint(loginkey, 8);

and on loginseeq (case 1052) poll the player from the dictionary using the loginkey cus the client well respond with the login key you sent not with the client uid

uint key = (uint)BitConverter.ToUInt32(Data, 4);
uint loginkey = 0;
Character Client = new character()
foreach(in the AuthorizedClients or in the list )
{
if (key == Member.Value.LoginKey)
{
LoginKey = Member.Value.LoginKey;
Client = Member.Value;
break;
}
}

process the Client

**** that looks so **** Missie :S

and remember that sending the client uid rather than a random key/++`ed key is not gonna work cus if you logout and try to login again the client well respond with an error message cus the login key is the same (like you are still loged in) ,


and that was just one way you can do it cus there is alot more ways you can handle it


Good luck ,
{ Angelius } is offline  
Old 05/02/2011, 11:33   #3
 
|NeoX's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 237
Received Thanks: 99
Korvacs conquer wiki desribes it alot better
|NeoX is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Hint]KalOnline Cryption
08/18/2010 - Kal Online - 25 Replies
Because much has been published here in recent times. I will contribute something to. The cryption of Kalonline was published two years ago but so far no one has done anything with it. Anyway here -> (c) by Bakabug..
Packet Cryption :]
12/19/2007 - Metin2 - 126 Replies
Hi @ all Ich suche ein paar leute die bissel ahnung von Delphi, C++ und Packets haben.Zu mir ich habe einige erfahrungen mit Packets in dem Spiel KalOnline gemacht und habe dort auch schon die alte Packet Cryption (die seit einer weile auch Public ist geknackt) nun möchte ich die Packet Cryption von Metin 2 knacken :] Da meine Delphi skills nicht alzugut sind brauche ich leute die schon seit längerem Delphi oder C++ programmieren falls ASM skills vorhanden noch besser. Ich kenne mehrere...



All times are GMT +1. The time now is 05:26.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.