Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion > General Gaming Releases
You last visited: Today at 17:05

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

 

[RELEASE] Packet Encryption/Decryption Algorithm

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 2,207
Received Thanks: 6,749
[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;
        }
    }
}



Waroom is offline  
Thanks
5 Users
Old   #2
 
elite*gold: 400
Join Date: Dec 2007
Posts: 6,512
Received Thanks: 6,218
Da ist die Encryption-Routine für die control.ini ja komplizierter..


Mi4uric3 is offline  
Old   #3


 
elite*gold: 0
Join Date: Aug 2008
Posts: 5,146
Received Thanks: 10,464
They don't use any keys? :O
nico_w is offline  
Old   #4
 
elite*gold: 0
Join Date: Nov 2009
Posts: 2,207
Received Thanks: 6,749
Quote:
Originally Posted by nico_w View Post
They don't use any keys? :O
no, they don't.

But some packets are multiple packets in one (these packets are compressed).


Waroom is offline  
Old   #5
 
elite*gold: 0
Join Date: Jun 2012
Posts: 2
Received Thanks: 0
How to use it ? Im newbie
gebo93 is offline  
Old   #6
 
elite*gold: 400
Join Date: Dec 2007
Posts: 6,512
Received Thanks: 6,218
Quote:
Originally Posted by gebo93 View Post
How to use it ? Im newbie
Its not useful for you then.


Mi4uric3 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Release]C# Packet Encryption/Decryption 100% Functional
Enjoy, (Also, I've had some references from old Enc/Dec functions and improved some) -Functions written/converted into C# language To use: Call...
22 Replies - Dekaron Private Server
Does anyone have the updated packet encryption/decryption algorithm?
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...
0 Replies - Battle of the Immortals
Packet Encryption/Decryption
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...
2 Replies - CO2 Main - Discussions / Questions
Packet Encryption/Decryption
Hi All, I have also been playing with packet encryption/decryption. I think the server creates a session key (used to encrypt network traffic...
5 Replies - Archlord
Packet encryption/decryption software
Does anyone know any program that can encrypt/decrypt packets? Ultimatehacker&#39;s packet suite link doesn&#39;t work, sadly.
4 Replies - CO2 Main - Discussions / Questions



All times are GMT +1. The time now is 17:05.


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

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