Register for your free account! | Forgot your password?

You last visited: Today at 00:07

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


Packet Decryption

Closed Thread
 
Old   #1
 
elite*gold: 209
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,603
Received Thanks: 17,610
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; 
}
The cryptinfo (cp-p )

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;
well you might want to check if the packet is encrypted or not otherwise it will crash when you recieve a undecrypted packet

p.s.: Maybe someone could update the current US offsets and release it because i only have the EU version + offsets ;P



Lowfyr is offline  
Old 03/08/2005, 11:40   #2
 
elite*gold: 209
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,603
Received Thanks: 17,610
nach absprache mit nem anderen admin wird das hier nu released - ist allerdings nur ein teil vom ganzen (leecher können damit wenig anfangen)

weitere infos kommen eventuell später


Lowfyr is offline  
Old 01/25/2008, 23:51   #3
 
elite*gold: 0
Join Date: Jan 2008
Posts: 2
Received Thanks: 0
Could anyone post a pseudo code here so us that can't understand C++ would be able to understand how this algorithm works? I am very interested in different encryption algorithms for my school projet. Thank you in advance! =)
KeroChan is offline  
Old 01/26/2008, 10:20   #4
 
elite*gold: 80
Join Date: May 2006
Posts: 2,781
Received Thanks: 772
03-07-2005, 11:20

=/


Kinu is offline  
Old 01/26/2008, 10:47   #5
 
elite*gold: 0
Join Date: Jul 2005
Posts: 302
Received Thanks: 4
was könnte uns das bringen oder welchen nutzen könnten wir daraus ziehen ? verste ich leider nich ganz thanks
nasty2116 is offline  
Old 01/26/2008, 11:48   #6
 
elite*gold: 2
Join Date: May 2007
Posts: 3,630
Received Thanks: 428
Ist das nu alt oder neu?
Und wieso ist es ganz oben ich raffs ned -.-
Aeh' is offline  
Old 01/26/2008, 12:03   #7
 
elite*gold: 0
Join Date: Mar 2005
Posts: 367
Received Thanks: 3
ka, weil irgendwelche leute meinen das man zu 2 jahre alten sachen noch was sagen muss ^^
wutzebaer is offline  
Old 01/26/2008, 12:08   #8
 
elite*gold: 80
Join Date: May 2006
Posts: 2,781
Received Thanks: 772
Quote:
Originally Posted by NatuRe. View Post
Ist das nu alt oder neu?
Und wieso ist es ganz oben ich raffs ned -.-
kannsu lesen?

03-07-2005 11:20

Kinu is offline  
Old 01/26/2008, 13:04   #9
 
elite*gold: 0
Join Date: Jul 2006
Posts: 673
Received Thanks: 32
dum di dum dum
Sourcesys is offline  
Old 01/27/2008, 02:10   #10
 
elite*gold: 0
Join Date: Jan 2008
Posts: 2
Received Thanks: 0
Does it matter if it's old? Has Blizz changed the encryption to something else? If so has the new encryption been discovered already? Just wanting to know how it works/worked =P


KeroChan is offline  
Closed Thread



« Speedhack+Grinden/Farmen | hacks undetected gpdmode on live server or just fuck?! »

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 +1. The time now is 00:07.


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

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