View previous topic :: View next topic |
Author |
Message |
maplecheck Expert Cheater
Reputation: 0
Joined: 22 Jan 2006 Posts: 139
|
Posted: Thu Jul 23, 2009 4:45 am Post subject: can't read Physical Memory? |
|
|
can't read Physical Memory in Win Xp Sp2? why?
but can read in another computer.
I have debug, ZwOpenSection can't open it, return STATUS_UNSUCCESSFUL
PS: I can read Physical Memory by WinIO.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25719 Location: The netherlands
|
Posted: Thu Jul 23, 2009 7:18 am Post subject: |
|
|
Could be another driver has mapped that physical address. Can you get more detailed error info besides STATUS_UNSUCCESSFUL ? (thats the error my driver gives, but I think ZwOpenSection should return a more clear error)
Anyhow, if you just want to read/write physical memory:
http://cheatengine.org/downloads/virtualpagedir.rar
Load that plugin into ce and then you can use physical memory without interference of api's
_________________
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 |
|
 |
maplecheck Expert Cheater
Reputation: 0
Joined: 22 Jan 2006 Posts: 139
|
Posted: Thu Jul 23, 2009 8:50 pm Post subject: |
|
|
Thank you. I thank the problem at SECTION_ALL_ACCESS, I fixed with follow, then work fine.
Code: | WCHAR physmemName[] = L"\\Device\\PhysicalMemory"; // uppercase
UCHAR* memoryview;
__try
{
RtlInitUnicodeString( &physmemString, physmemName );
InitializeObjectAttributes( &attributes, &physmemString, OBJ_CASE_INSENSITIVE, (HANDLE) NULL, (PSECURITY_DESCRIPTOR) NULL);
ntStatus=ZwOpenSection( &physmem, SECTION_ALL_ACCESS, &attributes ); //SECTION_MAP_READ change to SECTION_ALL_ACCESS
|
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25719 Location: The netherlands
|
Posted: Thu Jul 23, 2009 10:58 pm Post subject: |
|
|
thanks
_________________
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 |
|
 |
|