Quote:
Originally posted by Rohit8180@Jul 26 2007, 03:49
fuck lol its a great guide but when i put the 1st code it says error in line 26
|
delete that line but make sure to leave a space there. but usually it wont like lines: 26, 27,28, 32,33 (least it didnt like these ones for me... if you need the code that worked for me, pm me and ill give you mine)
if it just dosent like line 26 then the code below should work (this only excludes line 26.. if it dosent work you have to you can delete the rest of the lines):
[ENABLE]
alloc(newmem,2048)
alloc(X,30)
alloc(Y,8)
label(exit)
label(returnhere)
4230AA:
jmp newmem
returnhere:
newmem:
cmp [10044004],ff
je exit
mov [10044000],00
pushad
pushfd
push 00000000
push 10000000
push 10003FD0
push 02
call SetWindowsHookExA
mov [10044004],ff
push 0
mov [X],74696C45
mov [X,8],2E737265
mov [X,C],006D6F63
mov eax,X
push eax
mov [Y],69746341
mov [Y,4],65746176
mov eax,Y
push eax
push 0
call messageboxa
popfd
popad
exit:
mov ecx,[ebp-0c]
pop edi
pop esi
jmp returnhere
UnhookWindowsHookEx:
ret 0004
[DISABLE]
4230AA:
mov ecx,[ebp-0c]
pop edi
pop esi
10044000:
nop
UnhookWindowsHookEx:
ret 0004
dealloc(newmem,2048)
dealloc(X,30)
dealloc(Y,8)