Hooking
Ok i have my dll injected into the executable i want to.
And i can hook WinApi and stuff but what i want to do is like setting a breakpoint at some address of the and when it is called i want to get the contents of that variable somehow. Dont know if this is possibly using memory patching so thats why i am asking
example
Function in exe
SOMEOFFSET: PUSH something
-=some asm code=-
SOMEOFFSET: MOV EDI,Something <-- here i want to get the value of eax
thats it
[498 byte] By [
kolkoo] at [2007-11-19 19:42:50]

# 2 Re: Hooking
Perhaps this helps: http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/Debug/base/debugging_functions.asp
Read the part about DebugActiveProcess(). It will help you to go on.
And to get the value of the registers I think you can use GetThreadContext().
philkr at 2007-11-10 23:44:01 >
