The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: bhavacakra on January 11, 2007, 06:53:37 PM

Title: hooking statically linked dlls
Post by: bhavacakra on January 11, 2007, 06:53:37 PM
hooking statically linked dlls from a dinamically loaded dll

[deleted by admin]

I'm aware of the fact that the code needs some clean-up, it's my first practical asm code. Anyway it attempts to write to a read-only area in the second while loop, which results in an exception. How could I fix that ? I feel like the code for iterating over IMAGE_THUNK_DATA is totally wrong. How to replace wsock32.send by mySend ?

------------------------------------
Code of this type is subject to misuse by some people and as we have no way to distinguish the good from the bad, we do not allow code of this type to be posted.
------------------------------------
Title: Re: hooking statically linked dlls
Post by: Vortex on January 11, 2007, 07:04:25 PM
This topic is not allowed by forum rules.
Title: Re: hooking statically linked dlls
Post by: bhavacakra on January 11, 2007, 07:09:08 PM
Why ? It's not a homework, I've provided the whole code for completeness
Title: Re: hooking statically linked dlls
Post by: TNick on January 11, 2007, 07:29:22 PM
I would say that if you write/create a dll you don't need to hook it ...