Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 08:38

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

Advertisement



[Question] Proxy - deciphering server key packet

Discussion on [Question] Proxy - deciphering server key packet within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 11/21/2010, 19:28   #16
 
elite*gold: 0
Join Date: Feb 2005
Posts: 156
Received Thanks: 9
Quote:
Originally Posted by Kiyono View Post
No, I'm getting the same problem.
Let me know if you can solve it. Already tried to put project as x86 but nothing.
vDrag0n is offline  
Old 11/21/2010, 19:50   #17

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by vDrag0n View Post
Let me know if you can solve it. Already tried to put project as x86 but nothing.
Native.cs
Use this instead of what it was and the attached .dll, it'll fix the problem.
Code:
 [DllImport("libeay32.dll", CallingConvention = CallingConvention.Cdecl)]
        public extern static void BF_set_key(IntPtr _key, int len, byte[] data);
        [DllImport("libeay32.dll", CallingConvention = CallingConvention.Cdecl)]
        public extern static void BF_ecb_encrypt(byte[] in_, byte[] out_, IntPtr schedule, int enc);
        [DllImport("libeay32.dll", CallingConvention = CallingConvention.Cdecl)]
        public extern static void BF_cbc_encrypt(byte[] in_, byte[] out_, int length, IntPtr schedule, byte[] ivec, int enc);
        [DllImport("libeay32.dll", CallingConvention = CallingConvention.Cdecl)]
        public extern static void BF_cfb64_encrypt(byte[] in_, byte[] out_, int length, IntPtr schedule, byte[] ivec, ref int num, int enc);
        [DllImport("libeay32.dll", CallingConvention = CallingConvention.Cdecl)]
        public extern static void BF_ofb64_encrypt(byte[] in_, byte[] out_, int length, IntPtr schedule, byte[] ivec, out int num);
Attached Files
File Type: rar libeay32.rar (380.8 KB, 31 views)
Kiyono is offline  
Thanks
2 Users
Old 11/21/2010, 20:20   #18
 
elite*gold: 0
Join Date: Feb 2005
Posts: 156
Received Thanks: 9
Will test but already sending a Thanks.
vDrag0n is offline  
Old 11/21/2010, 20:20   #19
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
'ConquerProxy.Native' does not contain a definition for 'memcpy' etc. At least I am not getting the bad image issue though. Just can`t build it lol.
denominator is offline  
Old 11/21/2010, 20:41   #20
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
So you know... all packets for game server are decrypted/encrypted even before the exchange is complete.

Not all values are initiated yet. That could be some of the problems you are having with setting up the keys.


@ bad image exception. I'm fairly sure that had to do with the loading method of the native calls or possibly it referencing x84 vs x64 files... I forget which (usually when I've seen that error it has to do with needing to change the dllloader settings or use a different dll)
pro4never is offline  
Old 11/21/2010, 20:45   #21
 
elite*gold: 0
Join Date: Feb 2005
Posts: 156
Received Thanks: 9
Quote:
Originally Posted by denominator View Post
'ConquerProxy.Native' does not contain a definition for 'memcpy' etc. At least I am not getting the bad image issue though. Just can`t build it lol.
[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern unsafe void* memcpy(void* dest, void* src, uint size);

Still..you wont be able to connect, at least i wasnt. But i'll take a look on the source.
vDrag0n is offline  
Thanks
1 User
Old 11/21/2010, 20:51   #22

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by vDrag0n View Post
[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern unsafe void* memcpy(void* dest, void* src, uint size);

Still..you wont be able to connect, at least i wasnt. But i'll take a look on the source.
Well that's kinda obvious as this is for patch 5228.
Kiyono is offline  
Old 11/21/2010, 21:00   #23
 
elite*gold: 0
Join Date: Feb 2005
Posts: 156
Received Thanks: 9
Quote:
Originally Posted by Kiyono View Post
Well that's kinda obvious as this is for patch 5228.
Has anything changed till then? Thought it wasnt
vDrag0n is offline  
Old 11/21/2010, 21:32   #24
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Yup back to bad image again lol
denominator is offline  
Old 11/21/2010, 21:34   #25

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by denominator View Post
Yup back to bad image again lol
Tried the .dll I attached?
Kiyono is offline  
Old 11/21/2010, 21:39   #26
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Yup and readded
Code:
[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern unsafe void* memcpy(void* dest, void* src, uint size);
and
Code:
[DllImport("winmm.dll")]
        public static extern uint timeGetTime();
Ok I was a **** and didn`t put the dll in the right place hehehe. It now says "ready for connections"
Probably a stupid question but the loader that I have shouldn`t the setting be something like
Code:
[Loader]
IPAddress=127.0.0.1
LoginPort=9958
GamePort=5816
Sorry for all the edits but is this right or wrong?
Code:
public static string GameServerIP = "208.96.34.212";
denominator is offline  
Old 11/21/2010, 22:08   #27
 
elite*gold: 0
Join Date: Feb 2005
Posts: 156
Received Thanks: 9
This is the authserver.
vDrag0n is offline  
Old 11/21/2010, 22:11   #28
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Ok how about 208.113.**.***?
denominator is offline  
Old 11/22/2010, 00:32   #29
 
elite*gold: 0
Join Date: Nov 2009
Posts: 4
Received Thanks: 0
what the pasword for .rar?
slam_15 is offline  
Old 11/22/2010, 00:58   #30
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Would you please pm me the password for the .rar. I've been trying to make a proxy and would like something you use as a reference to see how it works. thank you ahead of time and np if you don't.
tkblackbelt is offline  
Reply

Tags
cipher, dh-key, encryption, exchange, proxy


Similar Threads Similar Threads
Play sound via Packet Send?? [Question String Packet]
07/14/2010 - CO2 Private Server - 5 Replies
Yow im trying to figure out why i cant play music with the string packet What im doin is; MyChar.Client.SendPacket(Game.Packet.String(MyCha r.UID, 20, Splitter)); My Packet is: public byte String(long CharId, byte Type, string name)
[Question] Packet data , packet editing ??
10/13/2009 - 9Dragons - 2 Replies
I would like to know : What is packet data? How do i get the address for hacking a item in game? How to use it ??
Packet Logger/Proxy
11/24/2007 - CO2 Exploits, Hacks & Tools - 81 Replies
After seeing many "proxy" programs abuse trust and/or disappear I decided to make my own. I figured I might as well release it. Use it if you'd like. It runs off a similar system as my Emu I'm working on so you can get a general idea for it's power :o :P The setup is simple. The config file is filled out as such: proxy-address = yourip server-address = 69.59.142.13 proxy-port = 9958 ;ignore-id = 1010 ;special-id = 1011 ignore-id ignores certain packets (both directions) from being...
new packet structure?proxy=dead?
08/19/2007 - Conquer Online 2 - 2 Replies
I'm hearing that the server.dat has been cracked,and the chat commands are not valid anymore?is it true?Is anyone planing on realeasing the server fix?even without the proxies the are still some uses for it.If some one knows hows can you tell us how to crack it.My hex skills are weak,I know java and trying to learn more on VB,but by the time i crack it the next patch will be out lol :(



All times are GMT +1. The time now is 08:38.


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