Skip to content

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages