测试合并
Go to file
2018-08-03 02:32:23 -04:00
.cmake/Modules Add cmake support for GUI part 2018-07-28 12:05:13 +03:00
GUI add /h code explanation 2018-08-03 02:32:05 -04:00
texthook remove unneeded var 2018-08-03 02:32:23 -04:00
vnrhook implement utf8 2018-08-03 01:48:57 -04:00
.gitattributes Line ending attributes for window LF 2016-12-12 00:50:06 +09:00
.gitignore Add cmake support for GUI part 2018-07-28 12:05:13 +03:00
CMakeLists.txt Add cmake support for GUI part 2018-07-28 12:05:13 +03:00
CMakeSettings.json add host interoperability project, and add everything to organized build system 2018-07-21 00:51:27 -04:00
LICENSE add license and update readme 2018-05-20 21:21:37 -04:00
README.md reformat dev list 2018-07-30 00:56:24 -07:00

NextHooker

Overview

NextHooker is an open-source x86~~ text hooker for Windows.

Basically, GUI text hooker based on Stomp's ITHVNR.

Extensions

See my Example Extension project to see how to build an extension.

To use an extension, simply rename the extension dll file to {NUMBER}_{NAME}_nexthooker_extension.dll and copy into the NextHooker folder.

Extensions are called in order by the number they are prefixed with.

Downloads

Releases of NextHooker can be found here

Previous releases of ITHVNR can be found here.

Features

  • Open-source
  • Hook text (most AGTH hook codes supported)
  • Auto hook many engines (including some not supported by VNR!)
  • Extensions (New!)

License

GPL v3

Developers

Special Thanks

  • Everybody adding issues!

Compiling

Before compiling NextHooker, you should get Visual Studio with CMake and ATL support, as well as Qt version 5.11
Use Visual Studio to compile all the CMake projects, then use Qt Creator to compile/run the GUI.

Project Architecture

The GUI links to vnrhost.dll (created from the texthook folder) which injects vnrhook.dll (created from the vnrhook folder) into the target process and connects to it via 2 pipe files.
vnrhost writes to hostPipe, vnrhook writes to hookPipe (duh?)
vnrhook waits for the pipe to be connected, then injects a few instructions into any text outputting functions (e.g. TextOut, GetGlyphOutline) that cause their input to be sent through the pipe.
Additional information about hooks is shared through a file view (a.k.a. section object) that is mapped to a reference to the Hook class.
The text that vnrhost receives through the pipe is then processed a little before being dispatched back to the GUI and displayed.