Packets encryption

08/03/2009 22:21 Niak#1
Hello,
Well since a emulator project has raisen from the ground up this past days, I decided to study loginprotocol (Dragonica EU). From what I've saw server send a key to client on his connection...but I'm not sure if they use their own encryption or a public one such as RSA for exemple (I don't really find the corresponding routines/variables tbh). Guess I'll have to do some tests tomorrow.

Any clues ? :)
08/03/2009 22:37 bloodx#2
i think Dragonica got a function what have packets before they get decrypted :)

so u can easy printf them :P u only need to find it =P
08/04/2009 03:23 Zacko7#3
Does not sound easy. The key is ever-changing.
08/04/2009 09:26 Niak#4
Ok. It's looks like it's use RSA, found corresponding bytes ;P
Also it's reboot my comp when I try to debug ;-P

Oh and what about the arguments the patcher is passing when starting dragonica.exe ? serverip / port ? Can't find out yet.
08/04/2009 09:57 Kuma123#5
For dragonica EU it's "/NoGsm /LaunchByLauncher"
Simply break on CreateProcessA/W when debugging the Patcher.
You still have GG running while debugging, else there should be no reason for a reboot?