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
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
You mean writing to another process' address space? or manipulating another process' stack?
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
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
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.
see the following tutorial and you will get it ;)
http://bbs.pediy.com/showthread.php?s=&threadid=13951
http://bbs.pediy.com/showthread.php?s=&threadid=13951