kanazky
Feb 11th, 2006, 03:32 AM
Names Of WS2_32.dll - Send
71AB429A .text Export send
->
I am trying to api hook WS2_32.dll's Send/Receive function. It is loaded in a program I have also loaded. I want to use my app (external) to hook the ws2_32.dll inside the other process and use it to send packets and log the received ones from it.
My App -> Client -> Server -> Client -> My App
(after openprocess is complete)
LoadLibAddy1 = GetProcAddress(GetModuleHandle("ws2_32.dll"), "Send")
LoadLibAddy2 = GetProcAddress(GetModuleHandle("ws2_32.dll"), "Receive")
Does that code I did actually hook the dll inside the processes? and if so how do I call apon the send and receive function?
71AB429A .text Export send
->
I am trying to api hook WS2_32.dll's Send/Receive function. It is loaded in a program I have also loaded. I want to use my app (external) to hook the ws2_32.dll inside the other process and use it to send packets and log the received ones from it.
My App -> Client -> Server -> Client -> My App
(after openprocess is complete)
LoadLibAddy1 = GetProcAddress(GetModuleHandle("ws2_32.dll"), "Send")
LoadLibAddy2 = GetProcAddress(GetModuleHandle("ws2_32.dll"), "Receive")
Does that code I did actually hook the dll inside the processes? and if so how do I call apon the send and receive function?