Jump to content
Tuts 4 You

trace api


Hacktreides

Recommended Posts

Hacktreides
Posted

Hello, i search for a source code example of a program with can trace API call, a wrapper or something like that. 

For example, i want to see MessageBox call from a other exe, i want this program to put a hook on the second executable and print MessageBox api call and is parameters.

If someone have a example of how to do that, thank you in advance.

Posted

Microsoft Detours includes a handful of examples of hooking various API and printing out information as needed via their personal detouring library:

https://www.microsoft.com/en-us/research/project/detours/

 

The concept behind how the examples work can be applied to any other detouring / hooking libraries.

  • Like 2
Hacktreides
Posted

Thank, i will take a look 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...