View Full Version : adding a msgbox to show the serial !
__dUdU__
April 1st, 2001, 11:41
lo
i've found like this
cmp ecx, [401339]
ecx = valid serial
401339 = entered one
after this cmp there's a jnz, i tried to when on the jnz line do (in sice)
'a'
push 0
push ecx ; to see my serial in the msgbox
push ecx
push 0
Call MessageBoxA
ret
but when i ran my prog i got a msgbox full of shit like 45srdfg2%@#$@#$@#$@
can anyone help me doing this ?
thanks in advanced
DuDu
hiya,
two points here
1 the regcode you rare looking at will be
a hex value so you would need to either
insert a hex2ascii conversion proc or
maybe call wsprintf.
2 is the address the regcode the regcode
is at always the same, could have
been allocated memory and de-allocated
before it reaches the messagebox.
Kayaker has just written a tutorial using
a dll, using a dll would be perfect for
what you are trying to do and once
written could be used often in different
progs.
regards
buj
April 2nd, 2001, 03:19
push 0 or push 1 (ok and cancel buttons)
push title (i suggest a static address push 00403823 with the title string)
push text (push ecx)
push 0
call messageboxa
i don't suggest using the same register for both title and text..and make sure those registers actually point to the string. The reason why you're getting '$%^@!@#%' is because they point to some hex chars which are being converted to '@#$@#$#@$' in windows system font.
__dUdU__
April 2nd, 2001, 08:03
Ok iŽll try
what you mean with point to the string ?
i did ? ecx and got my serial in dec format is this what u mean buj ?
tnx guys
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.