Textractor_test/README.md

61 lines
2.5 KiB
Markdown
Raw Normal View History

2018-05-26 18:48:14 +08:00
# NextHooker
2015-04-02 21:48:34 +08:00
2016-04-05 00:54:46 +08:00
2018-05-21 15:32:29 +08:00
## Overview
2016-12-15 21:30:45 +08:00
2018-06-16 07:30:32 +08:00
*NextHooker* is an open-source x86~~ text hooker for Windows.
2016-12-15 21:30:45 +08:00
2018-05-21 15:32:29 +08:00
Basically, GUI text hooker based on [Stomp](http://www.hongfire.com/forum/showthread.php/438331-ITHVNR-ITH-with-the-VNR-engine)'s ITHVNR.
2016-12-15 21:30:45 +08:00
2018-05-26 18:38:24 +08:00
## Extensions
See my [Example Extension project](https://github.com/Artikash/ExampleExtension) to see how to build an extension.
2018-07-14 01:10:04 +08:00
To use an extension, simply rename the extension dll file to ```{NUMBER}_{NAME}_nexthooker_extension.dll``` and copy into the NextHooker folder.
2018-05-26 18:38:24 +08:00
Extensions are called in order by the number they are prefixed with.
2018-05-21 15:32:29 +08:00
## Downloads
Releases of *NextHooker* can be found [here](https://github.com/Artikash/NextHooker/releases)
2016-12-15 22:14:30 +08:00
2018-05-21 15:32:29 +08:00
Previous releases of *ITHVNR* can be found [here](https://github.com/mireado/ITHVNR/releases).
2016-12-15 21:30:45 +08:00
## Features
- Open-source
2018-07-19 13:16:21 +08:00
- Hook text (most AGTH hook codes supported)
- Auto hook many engines (including some not supported by VNR!)
2018-05-26 18:38:24 +08:00
- Extensions (New!)
2016-12-15 21:30:45 +08:00
## License
2018-05-21 09:21:37 +08:00
GPL v3
2016-12-15 21:30:45 +08:00
## Developers
2018-07-19 13:06:38 +08:00
- Copyright (C) 2010-2012 [kaosu](http://www.hongfire.com/forum/member/562651-kaosu)
2016-12-15 21:30:45 +08:00
- VNR engine making by [jichi](http://sakuradite.com/topic)
2018-07-14 01:10:04 +08:00
- ITH updating by [Andys](https://github.com/AndyScull)
2016-12-15 21:30:45 +08:00
- ITHVNR new GUI & VNR engine migration by [Stomp](http://www.hongfire.com/forum/member/325894-stomp)
2018-07-30 15:56:24 +08:00
- ITHVNR updating by [mireado](https://github.com/mireado) and [Eguni](https://github.com/Eguni)
- NextHooker creation/updating by [Me](https://github.com/Artikash) and [DoumanAsh](https://github.com/DoumanAsh)
2016-12-15 21:30:45 +08:00
## Special Thanks
- Everybody adding issues!
2018-05-21 09:21:37 +08:00
## Compiling
2018-07-22 06:40:16 +08:00
Before compiling *NextHooker*, you should get Visual Studio with CMake and ATL support, as well as Qt version 5.11<br>
2018-07-23 14:27:12 +08:00
Use Visual Studio to compile all the CMake projects, then use Qt Creator to compile/run the GUI.
2018-05-21 09:21:37 +08:00
## Project Architecture
2018-05-26 18:38:24 +08:00
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.<br>
2018-05-21 09:21:37 +08:00
vnrhost writes to hostPipe, vnrhook writes to hookPipe (duh?)<br>
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.<br>
2018-06-01 21:56:40 +08:00
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.<br>
2018-05-21 09:21:37 +08:00
The text that vnrhost receives through the pipe is then processed a little before being dispatched back to the GUI and displayed.