Results 1 to 3 of 3

Thread: Api Hooking a Process's loaded dll (HELP!)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2005
    Posts
    10

    Arrow Api Hooking a Process's loaded dll (HELP!)

    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)
    VB Code:
    1. LoadLibAddy1 = GetProcAddress(GetModuleHandle("ws2_32.dll"), "Send")
    2. 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?

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Api Hooking a Process's loaded dll (HELP!)

    Are you sure this is the correct forum for this question? It may get more relevant people viewing it if its in the API forum.

    Chris
    Chris

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2005
    Posts
    10

    Re: Api Hooking a Process's loaded dll (HELP!)

    I know I switched the forum where im asking but no ones posted there either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width