| View previous topic :: View next topic |
| Author |
Message |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Sat Nov 07, 2015 6:20 am Post subject: How to make same in AOB injection? |
|
|
Hello..
So without using dissect data/structure , Me and monsters had inf, health in same time...
So... With code injection i usually do like this Example : -->
Inf, Health only for me by adding these high marked lines in code injection from dissect data/structure
label(player)
newmem:
cmp [esi+ac],2
je player
jmp originalcode
player:
jmp exit
| Code: |
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(player)
newmem:
cmp [esi+ac],2
je player
jmp originalcode
player:
jmp exit
originalcode:
movss [esi+14],xmm0
exit:
jmp returnhere
"SporeApp.exe"+1CFBC6:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
"SporeApp.exe"+1CFBC6:
movss [esi+14],xmm0
//Alt: db F3 0F 11 46 14
|
Soo... question is :
How to make same in AOB injection...
Cause when i try do same what i do with simple code injection, doesn't work.
Last edited by Betcha on Sat Nov 07, 2015 10:11 am; edited 3 times in total |
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Nov 07, 2015 7:24 am Post subject: |
|
|
Inside the AA window, select Template > AOB Injection.
You now have completed your AOB Injection.
|
|
| Back to top |
|
 |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Sat Nov 07, 2015 10:07 am Post subject: |
|
|
Maybe this gonna explain my situation...
This is with AOB injection... and this doesn't work, cause health still decreases.. Added lines like i added in simple code injection..
| Code: |
[ENABLE]
aobscanmodule(INJECT,SporeApp.exe,F3 0F 11 46 14 76 43) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
label(player)
newmem:
cmp [esi+ac],2
je player
jmp code
player:
jmp exit
code:
movss [esi+14],xmm0
jmp return
INJECT:
jmp code
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db F3 0F 11 46 14
unregistersymbol(INJECT)
dealloc(newmem)
|
This is simple code injection, and works inf. health..
| Code: |
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)
label(player)
newmem:
cmp [esi+ac],2
je player
jmp originalcode
player:
jmp exit
originalcode:
movss [esi+14],xmm0
exit:
jmp returnhere
"SporeApp.exe"+1CFBC6:
jmp newmem
returnhere:
[DISABLE]
dealloc(newmem)
"SporeApp.exe"+1CFBC6:
movss [esi+14],xmm0
//Alt: db F3 0F 11 46 14
|
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Nov 07, 2015 11:18 am Post subject: |
|
|
The default jump for the injection is to the "code" label.
All of your code under "newmem" is not executing.
Change it to:
|
|
| Back to top |
|
 |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Sat Nov 07, 2015 11:49 am Post subject: |
|
|
| Thank you..
|
|
| Back to top |
|
 |
|