Register for your free account! | Forgot your password?

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

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

Advertisement



Packet encryption.

Discussion on Packet encryption. within the Shaiya forum part of the MMORPGs category.

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 06/22/2009, 01:22   #2
 
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,344
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 06/22/2009, 17:29   #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


Similar Threads Similar Threads
BOI Packet Encryption
09/28/2011 - Battle of the Immortals - 13 Replies
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 a packet is being XORed with the value of the previous byte. The first byte of every packet indicates its length. Furthermore the first byte of the very first packet sent after the connection was established is being XORed with the value 0xCD. Example: Let's say the client sends this packet right after connecting to the server. 0x06 0xA7 0x57...
Help with Packet Encryption?
04/16/2009 - General Coding - 9 Replies
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 AD E3 29 82 A9 BC C5 EE F5 90 A9 1A 71 0C CD 06 3D FC 3A F6 5C A7 A1 4C 30 63 CD 03 AE 12 A6 20 88 1E C0 E8 95 19 F3 3D A7 42 3A 09 22 B A7 9E F9 6D D4 5D 9E 6A F7 81 0D D6 B8 22 D9 52 57 8E E5 9E 9B 92 31 9A 97 F6 DD 46 A7 11 ED A7 6C 8A E7 7B 08 F6 48 65 09 EE C8 80 76 78 00 1D 81 8B 85 BF 79 F2 D1 BA
LastChaos Packet Encryption
12/15/2008 - General Coding - 0 Replies
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. help. Im sharing all what i have already done. //EDIT thread can be closed or whatever... reversed it :> Greetz bio
Packet Encryption
02/22/2007 - General Coding - 4 Replies
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 online platform zum kaufen und spielen von spielen einige dinge die ich mir ueberlegt hab: steam bruter no-recoil hack fuer cs ein steam bruter gab es soweit ich weiß noch nicht und koennte sich als sehr nuetzlich erweisen natuerlich sollte er interface unabhaengig sein und rein auf packet basis arbeiten keke wireshark angeschmissen...
Packet encryption
09/19/2005 - Lineage 2 - 1 Replies
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 encryption) but it doesn't work. Has anyone any description of L2 packet encryption. And second question - what Init packet (server packet,nr. 0) means? I guess that it something related with encryption, but in l2j sources that packet content is hardcoded. Thanks for replies (if any ;) )



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


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.