Quote:
Originally Posted by Fаng
So it's not possible to hook the client's method that sets the key in the game cipher? It's not possible to inject a new method that sets the cipher using another key? o.O
|
Not in CO's case... well it's not exactly easy.
TQ's programmers that wrote CO's encryption implemented all by hand... so a simple detour wouldn't work (like get the lib and includes for openssl and set up a detour on BF_set_key from openssl) because you dont have the function pointer.
But, if you can get the function's pointer then you can hook the function and get the parameters easily.
On the other hand, if you're dealing with a CO.exe like classic co's, which is packed and closes the game if it finds c-e, ollydbg, programming environments (VC#, VC++), it's going to be a lot harder.
If you don't succeed with hooking/detours, you could always try a bruteforce but it might take you around a month to be able to find the right combination considering that there are 94^16 (^ = power) possible arrangements. (Starting from '0' to '~').
If you're trying bruteforce... good luck with that.