Memory access from another app?
-
I am trying to access a specific area of memory in another application and was wondering if anyone had any ideas on how to make that happen.
-
I am trying to access a specific area of memory in another application and was wondering if anyone had any ideas on how to make that happen.
Have a look at IPC techniques: http://www.codeproject.com/threads/#Inter%2DProcess+Communication :) Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT) -
I am trying to access a specific area of memory in another application and was wondering if anyone had any ideas on how to make that happen.
One possible way is to access it directly, all you need to know is the address in another process that you want access/modify: 1. If necessary enable SeDebugPrivelege for your process. a. OpenProcessToken (..,TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY ) b.LookupPrivilegeValue c. AdjustTokenPrivileges, CloseToken 2. OpenProcess with desired access (PROCESS_VM_READ .. ) 3.ReadProcessMemory/WriteProcessMemory HTH, Edward