Posted December 18, 200618 yr hi all, i get troubles here i don't know what is functions that used to write a serial in a keygen auto without press any key or btn could somone give me example for that?
December 18, 200618 yr it's not that hard you should use the same Function for writing it it the keygen by Pressing the key "I mean SetDlgItemTextA" Function and use it after the Serial Generation Without Using the Press Function For Example ".if wParam == "Generate Buttons ID" this Line should be removed and the SetDlgItemTextA Function Should Be Right After the Generation Progress to make sure it works fine "no to get lost actualy " Edited December 18, 200618 yr by Angel-55
December 18, 200618 yr u mean serial should be made and printed as ur typing the user input.elseif uMsg == WM_COMMAND mov eax,wParam .if ax==NAME_EDIT ; ----> NAME_EDIT is name input edit box shr eax,16 .if ax==EN_CHANGE invoke CalcProc,hWnd ;----> Call Keygen Routine .endif .endif .elseif eax == WM_CLOSE invoke EndDialog, hWnd, 0 .endif xor eax,eax Ret Edited December 18, 200618 yr by starzboy
December 18, 200618 yr Well, in C++ it's always the easiest way to use OnEditChange{ Name = GetDlgItemTextA(blah); Key = CalculateSN(Name); SetDlgItemTextA(Key, blah); } It's a little bit harder to add a handler for the button, shouldn't be an unsolvable problem tho Not in MASM either... Edited December 18, 200618 yr by KillBoy-PowerHead
December 18, 200618 yr i don't know what is functions that used to write a serial in a keygen auto without press any key or btnI read, that u're on WinAsm -so take a look at Goppit's Tutorial from ARTeam, and u'll find exactly what you need... _http://arteam.accessroot.com/tutorials.html?fid=173
December 19, 200618 yr This is what I use when I get around to keygenning: .if ax==1000 invoke GetDlgItemTextA,hWin,1000,offset szWhiterat,90 mov EAX,offset szWhiterat invoke GetDlgItemTextA,hWin,1000,offset szWhiterat,255 .if eax == 0 invoke SetWindowText,hEdit2,chr$("Please enter a name!") jmp @finish .elseif eax > 40 invoke SetWindowText,hEdit2,chr$("Name too Long!") jmp @finish .elseif eax < 3 invoke SetWindowText,hEdit2,chr$("Name too Short!") jmp @finish .endif call generation invoke SetWindowText,hEdit2,ADDR Serial .endif IDC_TEXTBOX equ 1000 p.s dont forget to EM_SETLIMITTEXT otherwise if the inputted name gets too long it will start overwriting strings in your keygen.
Create an account or sign in to comment