What language did you write the proxy in? So you were able to get pass the Open SSL? The packet structure is the easy part once you are pass the Open SSL.
Which packet structure are you looking for? The older version or the newer version. Are you going to be using your proxy on private servers or the actual CO Servers?
"the Open SSL", as you call it, is a sign that you don't know what Open SSL is.
You don't get past "the Open SSL", you use OpenSSL encryption algorithms to get past the initial handshake and to decrypt/encrypt all other packets.
Of all the algorithms in OpenSSL, only 2 are needed and both are not OpenSSL specific. Both may be ported to Java (I have done this, so it is possible) and used in a proxy written in java (my proxy and CIDProxy are proof). The 2 algorithms that are used are visible in the disassembled client as strings referencing files in the openssl package (can be found on sourceforge.net).
The implementation of these 2 is not quite straightforward (you need to fit them with the packets TQ uses during the initial handshake).
"the Open SSL", as you call it, is a sign that you don't know what Open SSL is.
You don't get past "the Open SSL", you use OpenSSL encryption algorithms to get past the initial handshake and to decrypt/encrypt all other packets.
Of all the algorithms in OpenSSL, only 2 are needed and both are not OpenSSL specific. Both may be ported to Java (I have done this, so it is possible) and used in a proxy written in java (my proxy and CIDProxy are proof). The 2 algorithms that are used are visible in the disassembled client as strings referencing files in the openssl package (can be found on sourceforge.net).
The implementation of these 2 is not quite straightforward (you need to fit them with the packets TQ uses during the initial handshake).
what these 2 algorithms are?
could you explain more in detail?
what these 2 algorithms are?
could you explain more in detail?
He has given you all the information you need to find them....as well as a link to the OpenSSL package, what more detail do you want? short of caff giving the answer out.
"the Open SSL", as you call it, is a sign that you don't know what Open SSL is.
You don't get past "the Open SSL", you use OpenSSL encryption algorithms to get past the initial handshake and to decrypt/encrypt all other packets.
Of all the algorithms in OpenSSL, only 2 are needed and both are not OpenSSL specific. Both may be ported to Java (I have done this, so it is possible) and used in a proxy written in java (my proxy and CIDProxy are proof). The 2 algorithms that are used are visible in the disassembled client as strings referencing files in the openssl package (can be found on sourceforge.net).
The implementation of these 2 is not quite straightforward (you need to fit them with the packets TQ uses during the initial handshake).
How come you used a program to make it windows executable/native code, could have just obfuscated it and left it as java class files :P
I'll take a look into some OpenSSL wrappers for java, if no port it to java myself, thanks for the co-operation.
i write a simple client to connect to Conquer Game Server,
the server sent first packet to me before i send any data.
is that packet a handshake packet?
why not the client should send the first handshake packet?
and what information in that packet?
how can i decode it?
is there any references or docs i can find in the internet?
Thanks
i write a simple client to connect to Conquer Game Server,
the server sent first packet to me before i send any data.
is that packet a handshake packet?
why not the client should send the first handshake packet?
and what information in that packet?
how can i decode it?
is there any references or docs i can find in the internet?
Thanks
Upon connecting is enough to get the server to send data first.
you wont find any wrappers for what you need, and the Java implementations that are already out there are inadequate (poorly coded or not exactly like OpenSSL). I copied a good portion of my implementation from the gnu-crypto package for Java. The function you need is a modification of a block cipher algorithm that allows for any number of bytes to be encrypted/decrypted at a time (block ciphers normally require the array to be a multiple of it's block size).
So you may copy the block cipher method from gnu-crypto, then look into OpenSSL and make your own copy of its function.
I really wish I could tell you the function or at least the algorithm, but it's still closed knowledge so I have to help you help yourself :P
Packet Decryption 12/18/2009 - General Coding - 3 Replies I need help with understanding packet decryption.
can anyone point me to a right tutorial?
maybe tuts for reverse engineering? or tutorials for using ollydbg.
the game im trying to hack is khan online.
in w/c it has no game guard. packets used to be unencypted but are encrypted now..
one of a few hacks that work in game is duping and speed hack..
now we need to broaden our knowledge on hacking w/ packets.
Packet Decryption help 04/07/2009 - Lineage 2 - 4 Replies Hi!
I'm working on a little prog. that decrypts the L2 packages.
The decryption algorithm is (I think) good, because the first packet seems to be decrypted successfully, the problem is probably in the key update, which is made after every packet.
http://img183.imagevenue.com/loc33/th_55248_l2p1_ 122_33lo.JPG
You can see on this image that the decryption is good, and it doesn't screws up long strings (will be described below).
I noticed the error when I tried to decrypt Message...
t4c packet decryption 09/29/2005 - General Coding - 0 Replies Hey I was wondering if anyone could help me with packet decrypting of a game. Its called The 4th Coming. its a 2d game, and speed hacks work on it, so you know the game is kinda crap. I have a server for it and the client, but now I need someone to try and figure out he packets.
Here is the Outpu of the Database, I was wondering if someone could use this info so they can either decrypt packets or change the data on another real server. The information is sotred on a Microsoft MDB. here the...