|
Post by £åߥ®Ñth on Jan 25, 2008 10:18:05 GMT -5
Doing a code injection to Spider Solitaire.This game doesnt need the injection to cheat, but practice makes perfect so here we go. Find what writes to the address you find. Make an AA script to alter the assembly you find. This will defeat DMA. Which spider solitaire does not have. It is static memory: 01012F60 spider.exe+12F60 Above are the same address's The spider.exe = 1000000 at the base address So 1012F60 - 1000000 = 12F60 & spider.exe+12F60 = 01012F60. But here is your explanation for doing a script: You see in this image what writes to the address. mov [eax],ecx [eax] = 1012F60 "Your address you found" ecx = 1F2 "The score" 1F2 is in hexa, So decimal this would be: 498 "The actual score" Now to make the score what we want we can do a code injection to alter this. mov eax,270F eax = 498 270F = 9999 in decimal. So was are moving 9999 into eax so it will = 270F/9999 Here is the script that will do this. [ENABLE] alloc(newmem,2048) label(returnhere) label(originalcode) label(exit)
010035D1: jmp newmem nop returnhere:
newmem: mov ecx,270F mov [eax],ecx
originalcode: //mov [eax],ecx //cmp ecx,[edx] //jle 010035d9
exit: jmp returnhere [DISABLE] 010035D1: mov [eax],ecx
|
|