tdennist
November 4th, 2004, 17:36
I've been working on a crackme for about 3 days now. I've got everything I need completed, I think, and the keygen is made. The one problem: the keygen doesn't produce the right number ;-). No, I'm not asking for someone to tell me what's wrong with the keygen. I think I know the problem.
In this crackme, this line exists:
EAX at this point contains the last letter of the name I entered. What I have in my keygen C file is:
(Yes, foovar is a char containing the last letter
). My question is: are these two lines equivalent? If they aren't, can you tell me how I can make them equivalent? And if they are...I guess I have some more work to do ;-).
Thanks.
(as a side question, is it possible to edit code in IDA? I was frustrated and was going to change the TEST EAX,EAX before the jnz instruction to XOR so that I could feel good about entering a correct serial, but I couldn't figure out how to edit code in IDA. Thanks again.)
In this crackme, this line exists:
Code:
IMUL EAX,6
EAX at this point contains the last letter of the name I entered. What I have in my keygen C file is:
Code:
foovar *= 6;
(Yes, foovar is a char containing the last letter

Thanks.
(as a side question, is it possible to edit code in IDA? I was frustrated and was going to change the TEST EAX,EAX before the jnz instruction to XOR so that I could feel good about entering a correct serial, but I couldn't figure out how to edit code in IDA. Thanks again.)