Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > World of Warcraft
You last visited: Today at 17:23

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

Advertisement



packet decryption?

Discussion on packet decryption? within the World of Warcraft forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2006
Posts: 2,524
Received Thanks: 74
packet decryption?

soo, ich wuerde gerne bissl mit den wow-packets rumspielen.
allerdings hab ich keine ahnung, wie ich die decrypten soll. weiss da wer was?
Ping
4C1D^ is offline  
Old 08/21/2007, 12:27   #2
 
Hydrox's Avatar
 
elite*gold: 0
Join Date: Feb 2006
Posts: 537
Received Thanks: 27
K.a. obs noch akutell ist aber:

Packet decryption:
Code:
BYTE *DecryptPacket(BYTE *Packet, DWORD len) {
   BYTE KeyIndex, curKey, lastByte;
   DWORD i;

   KeyIndex = *(CryptInfo + 0x115);

   lastByte = 0;

   for(i = 0; i < len; i++) {      //return the key to the initial state
     KeyIndex--;
       if(KeyIndex == 0xFF)         //-1, bytes are unsigned
        KeyIndex = 39;
   }

   for(i = 0; i < len; i++) {
  curKey   = *(*(BYTE **)(CryptInfo + 0x11C) + KeyIndex);
  tmp = *(Packet + i);
  *(Packet + i) = (*(Packet + i ) - lastByte)) ^ curKey;
  lastByte = tmp;
   }

   return Packet;
}
Crypt Info
Code:
typedef struct WoWKeyIndex {
   BYTE Index;
   BYTE LastByte;
   BYTE CryptLen;     
} WoWKeyIndex;

typedef struct WoWCryptInfo {
   BYTE IsCrypted;               
   WoWKeyIndex SendKey;
   WoWKeyIndex RecvKey;
   BYTE KeyLen;
   char *Key;
} WoWCryptInfo;

typedef struct WoWClientOP {
   WORD Size;
   DWORD Code;
   BYTE Data[MAX_PACKET_LEN];
} WoWClientOP;

typedef struct WoWServerOP {
   WORD Size;
   WORD Code;
   BYTE Data[MAX_PACKET_LEN];
} WoWServerOP;
Ansonsten kannst du dich mit WoW Emulatoren befassen.
Quote:
Originally Posted by AlexM
And yes, you can "sniff" the encryption in the packets. That's basically how emulated servers are able to encrypt/decrypt packets. Someone went through with a disassembler and/or debugger, figured out the encryption in ASM, and finally converted it to C/C++/etc.
Hydrox is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
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...
CO Packet decryption.
12/07/2008 - CO2 Programming - 11 Replies
Hi, i recently made a Java proxy, I'm wondering if anyone would like to share with me the CO packet encryption/decryption packet structure. I wouldn't mind it for testing purposes, thanks.
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...



All times are GMT +2. The time now is 17:23.


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.