Log in

View Full Version : is this code tricking me ?


__DuDu__
July 11th, 2001, 20:21
MOV EAX,[0040B760] ; EAX = Ah that is the lenght of the entered serial
CMP EAX,[0040B768] ; Compare EAX to the right serial ?! if yes where's the right serial ? d *40b768 or d 40b768 ?
JNZ 00408A12 ; jump if serial isn't equal EAX (if i patch this to je it goes to the registered msgbox else nothing happens)

Tnx in Advance
DuDu

/me slaps spiaj and kilby for being bad guys in my last post, be nice now

CoDe_InSiDe
July 12th, 2001, 00:43
Hi __DuDu__,

Your saying that if you Patch the JNZ to JZ you get the Registered Message Box?
But if i see about what you posted, it only Compares the Serial Length with the correct Length ?
Maybe some more info...?

Cya...

CoDe_InSiDe

__DuDu__
July 12th, 2001, 04:15
Hey CoDe_InSiDe :-)


Your saying that if you Patch the JNZ to JZ you get the Registered Message Box?
yes, patching it i get the 'Thanks for Registering MsgBox'

[QUOTE]But if i see about what you posted, it only Compares the Serial Length with the correct Length ? ? 0040B768 d 0040B768 d *0040B768 ? whitch one of them ?

I think so, but how can I get the lenght thats being compared with the len of the entered serial ??

im thinking im in a protection that only checks the lenght of the serial

Tnx in Advance
__DuDu__

CoDe_InSiDe
July 12th, 2001, 13:32
Hi __DuDu__,

Oh hehe
Then just use "d 40B768" and look in the Data Window

Cya...

CoDe_InSiDe

__Dudu__
July 12th, 2001, 15:43
Hi Code, tnx for helping me, look i did what u did say to me and got it
:? eax
0000000A 0000000010 ""
: d 0040B768

018F:0040B768 02 00 00 00 B0 08 B7 00-00 00 00 00 00 00 00 00 ................
018F:0040B778 00 01 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................

so, is it comparing my serial to 2 ? dont think so coz it didnt jump when i passed the instruction

tnx in advance