| View previous topic :: View next topic |
| Author |
Message |
niucha9 Newbie cheater
Reputation: 0
Joined: 12 Jun 2022 Posts: 15
|
Posted: Thu Jun 23, 2022 11:52 pm Post subject: code injection problem |
|
|
i opened two processes in one game, A and B.
normally,when i inject code to A process, B will not be affected.
but i have a game ,which need to activate the dbvm cloak before code injection. in this situation,when i inject code to A process,B process will be changed too.
how can i deal with that?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25815 Location: The netherlands
|
Posted: Fri Jun 24, 2022 12:07 am Post subject: |
|
|
trigger a copy-on-write before enabling cloak.
try writing unchanged code to that address
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
niucha9 Newbie cheater
Reputation: 0
Joined: 12 Jun 2022 Posts: 15
|
Posted: Fri Jun 24, 2022 12:45 am Post subject: |
|
|
| Dark Byte wrote: | trigger a copy-on-write before enabling cloak.
|
hi DB,thx for replying !
there is my code,is that corect? (it still affect B process'code)
| Code: |
-- address of inject point
local address = getAddress("0055A014")
-- copy-on-write
writeInteger(address,readInteger(address))
local PA=dbk_getPhysicalAddress(address)
dbvm_cloak_activate(PA, address)
-- code injection
autoAssemble(xxx)
|
edit :
my aim is to inject a function call to "0055A014".
when i inject the function to the address "0055A014" of process A,it change to "jmp 01234567"
in this time,the address "0055A014" of process B is also changed to "jmp 01234567"
but the address "01234567" of process B is all "???"
so how can i inject the code to both processes (with dbvm cloak)
|
|
| Back to top |
|
 |
|