| View previous topic :: View next topic |
| Author |
Message |
patsmokeswii Grandmaster Cheater Supreme
Reputation: 0
Joined: 26 Aug 2007 Posts: 1039 Location: Perth Amboy, NJ
|
Posted: Sun Oct 28, 2007 6:05 pm Post subject: Cheat Engine Step 7. |
|
|
How Do I do it?
I can't get past it, I got to this part so far.
| Code: | alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
0045673B:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//ADD [0045673B],2
originalcode:
//ADD [0045673B],2
exit:
jmp returnhere
|
But I don't know what to do, or whats wrong.
I get the HP to stop decreasing, but I can't get it to increase.
|
|
| Back to top |
|
 |
Kizluk How do I cheat?
Reputation: 0
Joined: 28 Oct 2007 Posts: 1 Location: Undefined
|
Posted: Sun Oct 28, 2007 6:06 pm Post subject: |
|
|
you have the added code in comments
| Code: |
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
0045673B:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
ADD [0045673B],2
originalcode:
//ADD [0045673B],2
exit:
jmp returnhere
|
Try this
_________________
MiSQL es TuSQL |
|
| Back to top |
|
 |
patsmokeswii Grandmaster Cheater Supreme
Reputation: 0
Joined: 26 Aug 2007 Posts: 1039 Location: Perth Amboy, NJ
|
Posted: Sun Oct 28, 2007 6:14 pm Post subject: |
|
|
| Kizluk wrote: | you have the added code in comments
| Code: |
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
0045673B:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
ADD [0045673B],2
originalcode:
//ADD [0045673B],2
exit:
jmp returnhere
|
Try this |
Didn't Work.
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Sun Oct 28, 2007 6:49 pm Post subject: |
|
|
| Code: |
code :0045673b - ff 8b 0c 03 00 00 - dec [ebx+0000030c] |
^ This is the original code of step:7
inc: increases the instruction by 1
So if you add it 2 times you get a increase by 2.
Surly you can understand this simple injection.
This is a very simple way of doing it, it can be done a number of ways.
| Code: |
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
0045673B:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
inc [ebx+0000030c]
inc [ebx+0000030c]
originalcode:
//dec [ebx+0000030c]
exit:
jmp returnhere
|
|
|
| Back to top |
|
 |
patsmokeswii Grandmaster Cheater Supreme
Reputation: 0
Joined: 26 Aug 2007 Posts: 1039 Location: Perth Amboy, NJ
|
Posted: Sun Oct 28, 2007 7:07 pm Post subject: |
|
|
| Hey Thx.
|
|
| Back to top |
|
 |
Qwertymana How do I cheat?
Reputation: 0
Joined: 05 Nov 2007 Posts: 1
|
Posted: Mon Nov 05, 2007 2:41 am Post subject: |
|
|
| Labyrnth wrote: | | Code: |
code :0045673b - ff 8b 0c 03 00 00 - dec [ebx+0000030c] |
^ This is the original code of step:7
inc: increases the instruction by 1
So if you add it 2 times you get a increase by 2.
Surly you can understand this simple injection.
This is a very simple way of doing it, it can be done a number of ways.
| Code: |
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
0045673B:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
inc [ebx+0000030c]
inc [ebx+0000030c]
originalcode:
//dec [ebx+0000030c]
exit:
jmp returnhere
|
|
How exactly would you export such codes to somewhere other than cheat engine? Say, if you wanted to make a trainer
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Nov 05, 2007 6:35 am Post subject: |
|
|
You would either have to write your own script interpretor like Cheat Engine has, or convert the opcodes into bytes and write them to memory.
_________________
- Retired. |
|
| Back to top |
|
 |
Tinaki How do I cheat?
Reputation: 0
Joined: 11 Aug 2007 Posts: 8
|
Posted: Mon Nov 05, 2007 3:08 pm Post subject: |
|
|
| Eh, Same problems here.
|
|
| Back to top |
|
 |
|