News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

hooking statically linked dlls

Started by bhavacakra, January 11, 2007, 06:53:37 PM

Previous topic - Next topic

bhavacakra

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.
------------------------------------

Vortex

This topic is not allowed by forum rules.

bhavacakra

Why ? It's not a homework, I've provided the whole code for completeness

TNick

I would say that if you write/create a dll you don't need to hook it ...