Code Monkey home page Code Monkey logo

mhynot2's Introduction

mhynot2

Cheating is bad, but I think requiring a kernel driver to play a (mostly) single-player game is worse.

mhynot2 is a hook DLL which hooks into various API functions to emulate the functionality of mhyprot2.sys without actually running a driver. Tested on Genshin Impact 2.2, 2.3, 2.4, 2.5 (mhyprot3.sys not used WTF?????????), 2.6 (mhyprot3.sys used for some people?), and 2.7 (THEY WENT BACK TO MHYPROT2!!!!!).

Even though this is a tool to get around cheat prevention measures, this is intended as a tool for research and experimental purposes and isn't specifically designed for cheating.

This tool has many flaws and will be detected. You will get banned for using this.

Usage

Compile and run https://gist.github.com/khang06/56e3c221769648132023daab9fd2bc39

or...

  1. Launch the game with x64dbg with ScyllaHide on the VMProtect preset
  2. Run to the game's entrypoint
  3. Inject the DLL with Cheat Engine
  4. Go!

Linux build

  1. Init/update git submodules
  2. Go to minhook directory and build it with CROSS_PREFIX=x86_64-w64-mingw32- make -f build/MinGW/Makefile
  3. Run mkdir build && cd build && cmake .. && make -j256
  4. Grab mhynot2.dll and inject it together with libwinpthread-1.dll

mhynot2's People

Contributors

khang06 avatar longnguyen2004 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mhynot2's Issues

Failure to inject

From cheat engine 7.4 I seem to be getting this error message
dllInject failed: Failed injecting the DLL
Force load module failed:failed finding address of KERNEL32!InitOnceExecuteOnce

Oh my god what is this CMakeLists.txt

Silly issue title aside, I can probably spend some time cleaning that up, since hardcoding the compiler and other stuff is not the right way to do CMake :)

Seems not working for 2.8 anymore

Note, I am running the tool and the game in Sandboxie:

When I run this console application directly,
game boot up and shutdown within several seconds.

But if I "select something" in the game's console window to pause it, like :
image

The game boot into login screen and would let me do "click anything to enter the game",
But when the game is loading, it pops up a little window and say "Error happen, please go to the official website to download the client".

If you're running well, feel free to close this issue, then it should be something changed in recent Sandboxie's release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.