hey all

i want to:
- get a pointer to an address in process (00401250)
- at this address i want to store the string that ESP+8 points at into a variable

PS im using inline asm with VC6

thanks a lot for any help
Posted on 2005-11-26 16:11:00 by raz_1
You mean writing to another process' address space? or manipulating another process' stack?
Posted on 2005-11-26 20:57:14 by ti_mo_n
sry i was a little unclear i think:

i am working from a module(DLL) within the process, the address i want to check the ESP+8 value from is that of a function within the process.exe's address space.

im confused now as to how to get a pointer to the address, then i can simply do something like:

mov eax,
mov , eax

however i must first somehow hook or preferable point to that address
Posted on 2005-11-27 00:04:19 by raz_1
Use the exe to query the dll for that info (using a call to the dll asking for the value). Otherwise it's injecting the exe's memory with one's own value (patching), which is a bit harder to do and is usually illegal.
Posted on 2005-11-27 00:32:45 by ti_mo_n
see the following tutorial and you will get it ;)
http://bbs.pediy.com/showthread.php?s=&threadid=13951
Posted on 2005-11-27 21:12:14 by miaomiao