SuCkEr Posted December 18, 2006 Posted December 18, 2006 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?
Angel-55 Posted December 18, 2006 Posted December 18, 2006 (edited) 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, 2006 by Angel-55
starzboy Posted December 18, 2006 Posted December 18, 2006 (edited) 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, 2006 by starzboy
Killboy Posted December 18, 2006 Posted December 18, 2006 (edited) 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, 2006 by KillBoy-PowerHead
Ufo-Pu55y Posted December 18, 2006 Posted December 18, 2006 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
Loki Posted December 19, 2006 Posted December 19, 2006 lena's solution to her own keygenme also shows you how this is done.
Whiterat Posted December 19, 2006 Posted December 19, 2006 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now