mindoff Advanced Cheater
Reputation: 0
Joined: 12 Jun 2016 Posts: 96
|
Posted: Thu Feb 24, 2022 4:15 am Post subject: |
|
|
should be the same way with ce lua,inject asm code to jump to a new memory you allocated with win32 api
then use asm to write rdi to another memory address you created.
then jump back to original op code address(next op address)
since the memory are all what you created manually,you know your memory address in c++,and you can use it as you wish
you need to calucate jump to and jump back address and the asm code(op code, byte code) with it then should be ok to work,that's it i think,that's my way to do so
====================
let me make it a little bit clear
1.allocate memory in c++ by win32 api,VirtualAllocEx
2.inject asm(op code) to original code,just like ce does to your allocated memory
and write some asm code(op code) to record rdi to another memory,something like
move [addr], rdi
using WriteProcessMemory
3.copy original code and jump back to original code address next to where you come from,just like ce does
4.read memory where you record rdi,using ReadProcessMemory
|
|