Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya
You last visited: Today at 08:19

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

 

Packet encryption.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Packet encryption.

Not sure if anyone has tried making a proxy yet, other than the one that is stickied (which is injected and I imagine directly hooks the games send function bypassing the need for encryption?).

Anyway, just curious if anyone knows what sort of encryption is being used on packets?

US server for the record.



Some-Guy is offline  
Old   #2
 
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,336
XOR algorithm

For the packets from server to client a fixed string is used which are getting XOR'd with the packet string.
Packets from client to server are using XOR encryption too, but the string changes.

The internal call which is encrypting client packets is located at 0x00401000 and the one which is decrypting server packets is located at 0x00401040. Both calls require 2 arguments: The first is a pointer to the string which you want to encrypt/decrypt and the second one is the length of the string.

But since Shaiya uses the XOR algorithm you can use exactly the same function for encrypting and decrypting again.


ms​ is offline  
Thanks
3 Users
Old   #3
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Quote:
Originally Posted by Disconnect View Post
XOR algorithm

For the packets from server to client a fixed string is used which are getting XOR'd with the packet string.
Packets from client to server are using XOR encryption too, but the string changes.

The internal call which is encrypting client packets is located at 0x00401000 and the one which is decrypting server packets is located at 0x00401040. Both calls require 2 arguments: The first is a pointer to the string which you want to encrypt/decrypt and the second one is the length of the string.

But since Shaiya uses the XOR algorithm you can use exactly the same function for encrypting and decrypting again.
Thanks alot Planning on making a stand alone proxy. Not looked in to function hooking much, although I know a little.
Some-Guy is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
BOI Packet Encryption
I've made some research about the packet encryption used in this game and I thought I'd share them. BOI uses a simple XOR-Algorithm. Each byte of...
13 Replies - Battle of the Immortals
Help with Packet Encryption?
can someone help with these packets? im completely lost lol.i typed in A,B,ABC aand recorded the 3 packets A 2C 35 52 66 BF 66 15 E1 2C 3A D6...
9 Replies - General Coding
LastChaos Packet Encryption
Heyho, its me again ;) Does any1 has time to reverse the encryption of LastChaos (German), just 4 fun? Im just into it and searching for some prof....
0 Replies - General Coding
Packet Encryption
so heute mal nichts zu tun also hab ich mal nach einem opfer ausschau gehalten und stieß dabei auf steam steam ist wie vermutlich jeder weiß eine...
4 Replies - General Coding
Packet encryption
Hi,I'm trying to make a simple L2 bot, but i got stuck in begginning - in the packet encryption. I rewrote the l2j login thread sources (those about...
1 Replies - Lineage 2



All times are GMT +2. The time now is 08:19.


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

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