Hacktreides Posted March 21, 2017 Posted March 21, 2017 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.
atom0s Posted March 21, 2017 Posted March 21, 2017 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. 2
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now