View previous topic :: View next topic |
Author |
Message |
Lorizzuoso Cheater
Reputation: 0
Joined: 09 Apr 2022 Posts: 27
|
Posted: Thu May 05, 2022 6:35 am Post subject: Read/Write |
|
|
Is it possible to make a lua script that change a memory area from ready only to read/write without changing it every time for every address? |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
Posted: Thu May 05, 2022 2:14 pm Post subject: |
|
|
Lua has the function 'fullAccess' for changing a pages protection:
Code: |
fullAccess(address,size): Changes the protection of a block of memory to writable and executable
|
You can also manually make calls to an API such as VirtualProtect within an injected code cave to adjust region protections. _________________
- Retired. |
|
Back to top |
|
 |
Lorizzuoso Cheater
Reputation: 0
Joined: 09 Apr 2022 Posts: 27
|
Posted: Thu May 05, 2022 4:49 pm Post subject: Read/Write |
|
|
Ok it works thanks. |
|
Back to top |
|
 |
|