[Problem] Password Encryption 5250+

09/21/2010 14:42 TaiZer#1
Hello everyone.
I'm asking for your help because i'm in trouble in my source.
I can't get the right password, I'm decrypting it but I still don't have the good one.
I looked on ConquerWiki if I were on the right offset for the password and I am.
I saw that there were something with a length of 32 begining at the same offset than password (132).


I've dumped the packet received. I don't think there is any problem with.

Code:
14 01 3E 04 74 65 73 74 00 00 00 00 00 00 00 00             ..>.test........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 9B B4 A5 13 FA F7 D4 2B 3D 4D 71 F6             ...........+=Mq.
FD D5 85 F1 1C A6 49 F0 22 E0 A0 9F 02 16 2A 32             ......I.".....*2
64 3A EF B1 00 00 00 00 00 00 00 00 00 00 00 00             d:..............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00             ................
00 00 00 00 46 69 72 65 00 00 00 00 00 00 00 00             ....Fire........
00 00 00 00                                                 ....
Anyone have an idea of what i'm doing wrong? Maybe the encryption... I'm using the same as a 5095 or 5165...
09/21/2010 14:49 ImmuneOne#2
The encryption has nothing to do with this. If you're doing this correct you should be sending the password seed at first which needs to be stored somewhere. Once you receive the login request packet, you use the seed to generate the RC5 key. After you've done that, you decrypt the password using a double-layered encryption. Which both can be found on this forum (Hint: Search for Liberate.PasswordCryptography & RC5 can be found anywhere).
09/22/2010 14:37 TaiZer#3
Thanks ImmuneOne I figured out the password encryption now.
But I still have a problem, the encryption does not decrypt numbers.

I used to have "1" as password to login into my server.
And when I get the password, i have a "#" instead of "1".
If i try "123456" as password, i have "#("%♀'"

Do you have any idea to solve this problem?
09/23/2010 11:06 µ~Xero~µ#4
check the RC5 Decryption,Keys. was the issue on mine..