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

Message
Author
ROX_Leopardo
Developers
Developers
Posts: 37
Joined: 19 Nov 2011, 14:06
Noob?: No
Location: Brazil
Contact:

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

#121 Post by ROX_Leopardo »

I found the possible procedure that called the method that Kurama posted... with this we can try to know what is the values that the method posted by Kurama used on algorithm...
pastebin.com/HrT2cALv
Search for sub_4AAB70 on asm code...

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

#122 Post by ever_boy_ »

FredBr already commited a fix.
Thank you all who helped us, I learned a lot here.


edit:
well, it seems that his fix is logging in by brute force, spamming a given code, until it is successful (and eventually it will be), but I believe this is not the ideal solution.
So, we should still look for that code.

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

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

#123 Post by kLabMouse »

ever_boy_ wrote:FredBr already commited a fix.
Thank you all who helped us, I learned a lot here.


edit:
well, it seems that his fix is logging in by brute force, spamming a given code, until it is successful (and eventually it will be), but I believe this is not the ideal solution.
So, we should still look for that code.
I already posted the code's needed for that. Just a bit of "brain enable" and all go good.
You can try to get the ASM codes from original, and build a C/C++ code that is equivalent. Thus you can check the data on fly with the Ripped and own function if they match.

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

#124 Post by ever_boy_ »

I'm sorry, I meant "a perl's version of that code". We're working on that, but I'm not very used to c++ and asm...

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

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

#125 Post by kLabMouse »

ever_boy_ wrote:I'm sorry, I meant "a perl's version of that code". We're working on that, but I'm not very used to c++ and asm...
Like same as C/C++ one, If you have a working C/C++ code you can just change it to Perl one. The only difference is work on strings/arrays of bytes.

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

#126 Post by ever_boy_ »

yeah, but first gotta work on your c++ code, at which I suck :/

btw, we're having some trouble here. a friend of mine says he needs to limit a given var to DWORD type, so that the function could work, but he can't do that in perl. do you know anything about that?

ROX_Leopardo
Developers
Developers
Posts: 37
Joined: 19 Nov 2011, 14:06
Noob?: No
Location: Brazil
Contact:

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

#127 Post by ROX_Leopardo »

ever_boy
Give me some examples of the bytes that the client receive and the sequence that we give with this...

Kurama
Noob
Noob
Posts: 19
Joined: 13 Dec 2012, 17:26
Noob?: No

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

#128 Post by Kurama »

Image

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

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

#129 Post by kLabMouse »

ever_boy_ wrote:yeah, but first gotta work on your c++ code, at which I suck :/

btw, we're having some trouble here. a friend of mine says he needs to limit a given var to DWORD type, so that the function could work, but he can't do that in perl. do you know anything about that?
simple: a = a & 0xFFFFFFFF;

Kurama
Noob
Noob
Posts: 19
Joined: 13 Dec 2012, 17:26
Noob?: No

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

#130 Post by Kurama »

thank you, its working now =D

Post Reply