|
You last visited: Today at 18:44
Advertisement
[RELEASE] Packet Encryption/Decryption Algorithm
Discussion on [RELEASE] Packet Encryption/Decryption Algorithm within the General Gaming Releases forum part of the General Gaming Discussion category.
08/08/2012, 18:05
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 2,210
Received Thanks: 6,755
|
[RELEASE] Packet Encryption/Decryption Algorithm
Hey,
Maybe it's useful for someone here, these are the current algorithms for encrypting / decrypting the Packets.
Encrypt:
Code:
void Packet::Encrypt()
{
if(this->size > 4)
{
int a = 4;
BYTE b;
int i;
for (i = 0; i < (this->size - 4) / 3 - 1; i++)
{
b = this->data[a];
this->data[a] = this->data[a + 3];
this->data[a + 3] = b;
this->data[a] ^= 4;
this->data[a + 1] ^= 4;
this->data[a + 2] ^= 4;
a += 3;
}
}
}
Decrypt:
Code:
void Packet::Decrypt()
{
if (this->size > 4)
{
int a = 4 + 3 * ((this->size - 4) / 3 - 1);
BYTE b;
int i;
for (i = 0; i < (this->size - 4) / 3 - 1; i++)
{
b = this->data[a];
this->data[a] = this->data[a - 3];
this->data[a - 3] = b;
this->data[a] ^= 4;
this->data[a - 1] ^= 4;
this->data[a - 2] ^= 4;
a -= 3;
}
}
}
|
|
|
08/08/2012, 23:43
|
#2
|
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
|
Da ist die Encryption-Routine für die control.ini ja komplizierter..
|
|
|
08/09/2012, 09:11
|
#3
|
elite*gold: 0
Join Date: Aug 2008
Posts: 5,150
Received Thanks: 10,487
|
They don't use any keys? :O
|
|
|
08/09/2012, 16:23
|
#4
|
elite*gold: 0
Join Date: Nov 2009
Posts: 2,210
Received Thanks: 6,755
|
Quote:
Originally Posted by nico_w
They don't use any keys? :O
|
no, they don't.
But some packets are multiple packets in one (these packets are compressed).
|
|
|
09/18/2012, 10:32
|
#5
|
elite*gold: 0
Join Date: Jun 2012
Posts: 2
Received Thanks: 0
|
How to use it ? Im newbie
|
|
|
09/19/2012, 09:45
|
#6
|
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
|
Quote:
Originally Posted by gebo93
How to use it ? Im newbie
|
Its not useful for you then.
|
|
|
 |
Similar Threads
|
[Release]C# Packet Encryption/Decryption 100% Functional
03/30/2013 - Dekaron Private Server - 22 Replies
Enjoy, (Also, I've had some references from old Enc/Dec functions and improved some)
-Functions written/converted into C# language
To use:
Call DecryptData first,
then call CryptBody,
and then play around with your packets; once done simply re-encrypt it again (no need to use CryptBody again since a packet w/ 0x00 as key can be sent without problems).
C# Version:
public static byte CryptBody(byte PacketData, int len)
|
Does anyone have the updated packet encryption/decryption algorithm?
07/14/2011 - Battle of the Immortals - 0 Replies
Hello, I've read Disconnect's great post about http://www.elitepvpers.com/forum/battle-immortals/ 671567-boi-packet-encryption.html, but it seems like the encryption is no longer the same.
Does know the up-to-date encryption/decryption algorithm?
Or maybe I am just an idiot and the encryption is still the same?
Thanks!
Edit: I no longer need advice on this. Thanks to anyone who read this.
|
Packet Encryption/Decryption
01/27/2008 - Conquer Online 2 - 2 Replies
Well i'm getting all the prep work done to start coding a new bot, but looking around, all i see are macros and stuff, nothing for reference. Is the packet encryption/decryption still the same as lowfyr's post? Plus what happened to the english translation... did that get nuked as well? If anyone, i guess i'm talking to the higher up members here, has any source for encrypting/decrypting packets, please post them or if you dont want it public, pm it to me, and it will stay with me, plus you...
|
Packet Encryption/Decryption
10/10/2007 - Archlord - 5 Replies
Hi All,
I have also been playing with packet encryption/decryption. I think the server creates a session key (used to encrypt network traffic between the client and the server) and sends it to the game client on startup. I have seen bots (in Lineage II) that capture the session key and encrypt/decrypt network traffic to spoof the server. I'm sure this is how ACXO works.
Does anyone know of a good packet capture program with encryption/decryption capability? I am looking at Wireshark...
|
Packet encryption/decryption software
06/29/2007 - Conquer Online 2 - 4 Replies
Does anyone know any program that can encrypt/decrypt packets?
Ultimatehacker's packet suite link doesn't work, sadly.
|
All times are GMT +1. The time now is 18:44.
|
|