Skip to content

Helps intercept windows APIs using Microsoft Detours

License

Notifications You must be signed in to change notification settings

amithegde/Detour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Detour

  • Uses Microsoft Detours to intercept functions
  • Detour.exe injects a dll DetouredApis.dll into target process which hooks APIs
  • Logs are emitted using OutputDebugString and can be viewed using Sysinternals DebugView

Setup

  • clone the repo
  • setup vcpkg as described here
  • open the solution on VS 22, and hit Ctrl+Shift+B to build

Usage

  • Detour.exe <targetprocess.exe> detouredapis.dll
  • e.g.: Detour.exe" PerfCounterCpp.exe DetouredApis.dll
  • it expects the dll detouredapis.dll to be in the same directory as Detour.exe
  • If there are more instances of target exe, only one will be picked

About

Helps intercept windows APIs using Microsoft Detours

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published