Giter Site home page Giter Site logo

Comments (6)

m417z avatar m417z commented on July 17, 2024
  • What error code does MH_CreateHook return?
  • Upload your compiled exe file, I'll take a look.
  • Format your code properly.

from minhook.

sodiseng avatar sodiseng commented on July 17, 2024
  • What error code does MH_CreateHook return?
  • Upload your compiled exe file, I'll take a look.
  • Format your code properly.

error code: MH_ERROR_UNSUPPORTED_FUNCTION
there is full code:
https://hastebin.com/nowuvusesi.cpp
ty

from minhook.

m417z avatar m417z commented on July 17, 2024

there is full code:

Can you upload the compiled exe file? Drop it here for example.

from minhook.

sodiseng avatar sodiseng commented on July 17, 2024

there is full code:

Can you upload the compiled exe file? Drop it here for example.

https://send.firefox.com/download/958add0588221c4c/#oh4rQmHMYVd-qsOr2GS34g

from minhook.

m417z avatar m417z commented on July 17, 2024

It fails here:

return FALSE;

because the command after the call is invalid:
image

it doesn't have to be valid, but due to the way the function is implemented, it's being checked. I'll look at it when I have some spare time and try to fix it. Meanwhile, just make sure that you have a valid next instruction. For the test, you can use e.g. {0xE8, 0xE8, 0x56, 0xFB, 0x60, 0x90 ... }. (adding nop = 0x90)

from minhook.

sodiseng avatar sodiseng commented on July 17, 2024

yes,just a occasional bug.
its cant be hook when the address is hooking,until u patch 0x90 first
thanks

from minhook.

Related Issues (20)

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.