Related to Memory "Chunks" on MHS

Discussions Related to Game Hacking and Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Related to Memory "Chunks" on MHS

Postby Zirak » Fri Feb 19, 2010 5:43 am

I've noticed how Memory "Chunks" on MHS show you what accessibility you have on specific chunks of memory.
for example, addy 401000 allows you to only read, but not write to the memory.
How does MHS accomplish this? I'm trying to add a check to see if the Memory is read-only, and if it is use VirtualProtect. But I do not know what to use.

Please, and thank you :P
Zirak
I Have A Few Questions
 
Posts: 5
Joined: Sun Feb 14, 2010 5:23 am

Re: Related to Memory "Chunks" on MHS

Postby L. Spiro » Fri Feb 19, 2010 6:35 am

VirtualProtectEx() gives you this information.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: Related to Memory "Chunks" on MHS

Postby Zirak » Fri Feb 19, 2010 8:17 am

Problem is, I want it to check if it's read-only without changing any sort of permissions while doing it. How would I accomplish that?

I want it to only change it to Read/Write because if it changes when it's already Read/Write it causes errors and the hackshield for the game causes it to crash.

Basically I'm trying to do something like this
if(memory==read_only)
{
VirtualProtectEx(set section to write);
}
Zirak
I Have A Few Questions
 
Posts: 5
Joined: Sun Feb 14, 2010 5:23 am

Re: Related to Memory "Chunks" on MHS

Postby g3nuin3 » Thu Feb 25, 2010 12:46 pm

Use VirtualQueryEx to Query a memory region for its protections.
g3nuin3
Acker
 
Posts: 96
Joined: Tue Jul 18, 2006 10:53 am


Return to General Related Discussions

Who is online

Users browsing this forum: No registered users and 0 guests