[Help]Please help
#1

Here is code by someone:

//this function returns the stream size(output buffer size)
typedef int (*pEncryptfunc)(char* input_buffer, int size, char* key, char* output_buffer, char* output_buffer_unpacked);
//...
HANDLE dllHandle = LoadLibraryA("Engine.dll");
if(dllHandle == NULL){
printf("could not load Dll file");
system("pause");
return 1;
}
pEncryptfunc Encrypt, Decrypt;
Encrypt = (pEncryptfunc)0x10443DA0;
Decrypt=(pEncryptfunc)0x104440C0;

char Message[] ="my message";

//initializing the Key
char PrivateKey [] ={0x53, 0x34, 0x65, 0x53, 0x96, 0x62, 0x47, 0x51};
char* key =new char[9*16];
memset(key, 0, 9*16);
memcpy(key+(8*16), PrivateKey, 8);

//initializing the output buffers
msg_size = strlen(Message);
char* out_bp = new char [msg_size + 2 +4];//2 for the last 2 bytes in the packet, and 4 for the encrypted msg
char* out_b = new char[msg_size + 2 +4];

//encryption
int size = Encrypt(Message, msg_size, key,out_bp, out_b );

//decryption
Char* Msg = new char[size];
Char* Msg_unpacked = new char[size];
int size2 = size = Decrypt(out_bp, size, key,Msg, Msg_unpacked );

So, who can compile this and upload?

 

Thanks

#2
not only that the "privatekey" changes always but for making a loginserver this is enough

#3
Anonymous and Warmonger are the same people with multiacc xD

#4
No no no, im not from epvp. Im from Russia

#5
I don't know english language so perfectly like Warmonger, as you can see.



Forum Jump:


Users browsing this thread: 1 Guest(s)