totti93 Posted February 21, 2011 Report Posted February 21, 2011 Ai PM cu parola! Mi-a placut:D Quote
sulea Posted February 21, 2011 Author Report Posted February 21, 2011 deocamdata doar totti93 a gasit o rezolvare Quote
sulea Posted February 21, 2011 Author Report Posted February 21, 2011 flubber a gasit si el solutia, felicitari Quote
crys18 Posted February 25, 2011 Report Posted February 25, 2011 (edited) ma las batut (Nu inteleg :experimentul chimicplec la scoalaL-am crackuit totusi sa se inregistreze la orice cod:))))F6 E1 05 05 11 40 00 devine F6 E1 05 1E 11 40 00 Edited February 25, 2011 by crys18 Quote
sulea Posted February 25, 2011 Author Report Posted February 25, 2011 ma las batut (Nu inteleg :L-am crackuit totusi sa se inregistreze la orice cod:))))F6 E1 05 05 11 40 00 devine F6 E1 05 1E 11 40 00solutia ta nu este valida, la fel ca altcineva de aici cauti doar sa afisezi mesajul cel bun.daca se inlocuieste ce spui tu si introduci de exemplu serialul corect, vei primi o eroare 'din aia cu send / don't send a windowsului' (ca sa ma fac inteles)dar probabil ca ai gresit la transcriere, iar in loc de 'add eax, offset loc_40111E' trebuia sa fie 'mov eax, offset loc_40111E'deci F6 E1 05 1E 11 40 00 se transforma in F6 E1 B8 1E 11 40 00NICI in acest caz nu este buna solutia deoarece se urmareste doar afisarea mesajului bun, programul ramanand NEINREGISTRATva voi face viata si mai usoara si va voi da codul sursa. daca nici de aici nu va faceti o idee, ....386.model flat,stdcalloption casemap:noneDlgProc proto :DWORD,:DWORD,:DWORD,:DWORDafisare protoinclude \masm32\include\windows.incinclude \masm32\include\user32.incinclude \masm32\include\kernel32.incincludelib \masm32\lib\user32.libincludelib \masm32\lib\kernel32.lib.dataDlgName db "crackme",0AppName db "experimentul chimic",0TestString db "plec la scoala",0string1 db "program neinregistrat",0string2 db "program inregistrat",0string3 db "status",0.data?hInstance HINSTANCE ?CommandLine LPSTR ?buffer db 512 dup(?)locatia0 db ?locatia1 db ?locatia2 db ?locatia3 db ?.constIDC_EDIT equ 3000IDC_BUTTON equ 3001IDC_EXIT equ 3002IDM_GETTEXT equ 32000IDM_CLEAR equ 32001IDM_EXIT equ 32002.codestart: invoke GetModuleHandle, NULL mov hInstance,eax invoke DialogBoxParam, hInstance, ADDR DlgName,NULL, addr DlgProc, NULL invoke ExitProcess,eaxDlgProc proc hWnd:HWND, uMsg:UINT, wParam:WPARAM, lParam:LPARAM .IF uMsg==WM_CLOSE invoke SendMessage,hWnd,WM_COMMAND,IDC_EXIT,0 .ELSEIF uMsg==WM_COMMAND mov eax,wParam mov edx,wParam shr edx,16 .if dx==BN_CLICKED .IF ax==IDC_BUTTON invoke GetDlgItemText,hWnd,IDC_EDIT,ADDR buffer,512 add eax,-8 sub eax,-20 sets cl mov locatia1,cl push ecx add eax,-22 setz cl mov locatia2,cl push ecx pop eax pop ecx xor cl,al setnz cl mov locatia3,cl mov eax,19h mul cl add eax,unde_sarim push eax retn unde_ma_intorc:: .ELSEIF ax==IDC_EXIT invoke EndDialog, hWnd,NULL xor al,al add al,locatia1 add al,locatia2 mov cl,locatia3 xor al,cl .if al!=0 xor eax,eax mov eax,[eax] .endif .ENDIF .ENDIF .ELSE mov eax,FALSE ret .ENDIF mov eax,TRUE retDlgProc endpafisare procunde_sarim::invoke MessageBox,0,addr string1,addr string3,0push unde_ma_intorcretninvoke MessageBox,0,addr string2,addr string3,0push unde_ma_intorcretnafisare endpiatul::end start Quote