Results 1 to 4 of 4

Thread: Hook API Functions in External Application

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Cool Hook API Functions in External Application

    DISCLAIMER: The following attachment contains compiled binary files. You should scan all files with an anti-virus and run at your own discretion. I, nor anyone else, can be held responsible for any damages or loss of data that may occur.

    (Hopefully that's good enough...)

    This shows how to hook an API function call made by an application. It uses a C++ DLL and communicates with a VB program using a mailslot. Next version will use a TCP or UDP socket.

    Here is a rough example I threw together. Make sure to read the ReadMe.html file which contains instructions.

    I will post an update when I get the VB DLL injection method working better. Maybe someone else can figure out how to get it to work.

    Right now, the code is in a pretty messy/rough state, I didn't clean it up.

    But it works.

    Credits: Thanks to Merri for his SelfTimer class
    Attached Files Attached Files

  2. #2
    New Member Debug.Assert's Avatar
    Join Date
    Aug 2007
    Posts
    4

    Re: Hook API Functions in External Application

    It never goes any farther than "Injecting into.." for me.
    Attached Images Attached Images  

  3. #3

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Hook API Functions in External Application

    That's really strange. Might have something to do with how the Injector.exe file is being shelled. Have you tried messing with that?

  4. #4
    Member
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    37

    Re: Hook API Functions in External Application

    Thanks....

Tags for this Thread

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