Sorry Re Guys...Alla Exw Anoi3ei Enan Server Ola Comple...Lew OK Ante Ton Anoigw Na Mpoun Atoma...Alla Me To Pou Mpikan 10 Atoma...Mpaaaap...Kollise Olos O Server Kai Eprepe Na Ton Kleisw Kai Na Ton 3ananoi3w...Kai Akoma To Kanei...Lew...To PC Ftaei...Alla Den Ginetai Auto...To PC Einai Olokainourio...3GB RAM Sta 2.7 GHz...Ti Ftaiei Re Mages Kai Ti Na Kanw...Na Ton Valw Se Etairia...??? :S PLEASE HELP...Thank's
I open the l2j server and see
1. XOR->NewCrypt.encXORPass(raw, offset, size, Rnd.nextInt()); ---> XOR can also be taken from l2j
2. _staticCrypt.crypt(raw, offset, size);
----->
I scroll down the code and see this code
----->
===================================================
I'm transferring this code to C#
And in c# I first do decryptBlock and then XOR and everything works, I get the package
and the first 2 bytes have already been removed as far as I remember
This only works for the login server.
The blowfish encryption key is used static, it can be found in the l2j server
Hello first of all thank you for your prompt response and the time you are taking to read this and answer, I am aware that not everyone takes the time and for that I thank you.
On the other hand the specific problem is when decrypting this package and being able to parse it,
In some places it says that it is only encrypted with xor, in others that only a static blowfish is used and in others that both are used in the order of xor and then blowfish, this is the problem in spite of being able to see the encryption mechanisms of the servers, I can not put together the function that reverses this encryption to obtain the keys sent by the init packet.
Thanks for your time, hopefully the rest can contribute something because it is a super useful module to extend any functionality to the client and I will publish it in an opensource way when it is finished.
Question
mitsosgr69
Sorry Re Guys...Alla Exw Anoi3ei Enan Server Ola Comple...Lew OK Ante Ton Anoigw Na Mpoun Atoma...Alla Me To Pou Mpikan 10 Atoma...Mpaaaap...Kollise Olos O Server Kai Eprepe Na Ton Kleisw Kai Na Ton 3ananoi3w...Kai Akoma To Kanei...Lew...To PC Ftaei...Alla Den Ginetai Auto...To PC Einai Olokainourio...3GB RAM Sta 2.7 GHz...Ti Ftaiei Re Mages Kai Ti Na Kanw...Na Ton Valw Se Etairia...??? :S PLEASE HELP...Thank's
32 answers to this question
Recommended Posts