Skip to content

Hook DnsQueryEX to control domains resolving in any application using dnsapi.dll

License

Notifications You must be signed in to change notification settings

proxytype/DNS-Hooker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNS-Hooker

Hook DnsQueryEX to control domains resolving in any application using dnsapi.dll.

alt text

Requierments:

Microsoft Detours Library - https://github.com/microsoft/Detours

Compile:

  1. Unzip source code, open command line and enter to source directory
  2. SET DETOURS_TARGET_PROCESSOR=X64
  3. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
  4. NMAKE

Add detours.lib to Linker additional libraries.

Hooked Function:

  • DnsQueryEX

About

Hook DnsQueryEX to control domains resolving in any application using dnsapi.dll

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published