Kalispera se wlus lipwn ekana format to pc kai ipa na perasw jdk wmos to provlima m ine oti tn ekana instal kai meta ekana mia vlakia ekana delete tn fakelo java kai wtan trexw to proggram na tn 3ana perasw dn me afini apla lei reinstal ala dn kani tpt kai wtan paw pinaka elenxou na to vgalw m grafi ena provlima k m lei sfalma kata tn eggatastasi ti borw na kanw eyxaristw :'(
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
Question
Kafros_Gr
Kalispera se wlus lipwn ekana format to pc kai ipa na perasw jdk wmos to provlima m ine oti tn ekana instal kai meta ekana mia vlakia ekana delete tn fakelo java kai wtan trexw to proggram na tn 3ana perasw dn me afini apla lei reinstal ala dn kani tpt kai wtan paw pinaka elenxou na to vgalw m grafi ena provlima k m lei sfalma kata tn eggatastasi ti borw na kanw eyxaristw :'(
3 answers to this question
Recommended Posts