bRO's client asking for PIN Code on log in

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: bRO's client asking for PIN Code on log in

#81 Post by ever_boy_ »

But, do you know the operations made in order to get the 4 bytes into the numbers position, and vice-versa?


edit:
assuming that packet 08B9 provides me with these bytes:

1B 7F C4 0B

how do I find the correct numbers position?
Kurama
Noob
Noob
Posts: 19
Joined: 13 Dec 2012, 17:26
Noob?: No

Re: bRO's client asking for PIN Code on log in

#82 Post by Kurama »

call the function with 1B 7F C4 0B arguments

-edit

06 00 09
04 07 01
03 05 02
08

right?
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: bRO's client asking for PIN Code on log in

#83 Post by flashdbest »

Kurama wrote:call the function with 1B 7F C4 0B arguments

-edit

06 00 09
04 07 01
03 05 02
08

right?
kindly explain in detail how you got from 1B 7F C4 0B to that :)
IE : what method / formula.
Last edited by flashdbest on 14 Dec 2012, 12:43, edited 2 times in total.
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: bRO's client asking for PIN Code on log in

#84 Post by ever_boy_ »

Kurama wrote:call the function with 1B 7F C4 0B arguments

-edit

06 00 09
04 07 01
03 05 02
08

right?
YES!

exactly right!

Can you show me the steps? Something like pseudo-code, you know? I'll try to write something that kore can understand and reproduce.
Kurama
Noob
Noob
Posts: 19
Joined: 13 Dec 2012, 17:26
Noob?: No

Re: bRO's client asking for PIN Code on log in

#85 Post by Kurama »

use the asm function .-.
Fat4LitY
Noob
Noob
Posts: 14
Joined: 03 Sep 2012, 17:51
Noob?: No

Re: bRO's client asking for PIN Code on log in

#86 Post by Fat4LitY »

Kurama wrote:Image

this is the crypt function .-.
now write in perl because i dont know perl D:

AND PLEASE, SHARE!
I could undertand some lines like PUSH, MOV (moves a value for one place to other?), SUB, ADD, XOR, INC, but doesn't make any idea what are LEA, CMP, JE, POP and JNZ commands.
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: bRO's client asking for PIN Code on log in

#87 Post by ever_boy_ »

Uh... asm code.. it means nothing to me. :|
I was hoping you could do something like:
pick this and mix with that
and so on.
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: bRO's client asking for PIN Code on log in

#88 Post by flashdbest »

or maybe you can "translate" it to english.

so we could figure out the algorithm it's using
Fat4LitY
Noob
Noob
Posts: 14
Joined: 03 Sep 2012, 17:51
Noob?: No

Re: bRO's client asking for PIN Code on log in

#89 Post by Fat4LitY »

Kurama wrote:Image

this is the crypt function .-.
now write in perl because i dont know perl D:

AND PLEASE, SHARE!
I could undertand some lines like PUSH, MOV (moves a value for one place to other?), SUB, ADD, XOR, INC, but doesn't make any idea what are LEA, CMP, JE, POP and JNZ commands.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: bRO's client asking for PIN Code on log in

#90 Post by EternalHarvest »

Kurama wrote:

Code: Select all

004A7ADA: LEA EBX, DWORD PTR DS:[EBX]
Where the result of this is being used?