Giter VIP home page Giter VIP logo

Comments (2)

justinstenning avatar justinstenning commented on June 18, 2024

The problem is that you have only included EasyLoad32.dll in the directory, you would also need to include at least Easyhook.dll and possibly EasyHook32.dll (might get away without this one as your injected assembly is likely the first that will need it and load from its location).

EasyLoad32.dll will load EasyHook.dll into a new AppDomain within the target process, and then load your injected .NET assembly.

from easyhook.

wpfpro avatar wpfpro commented on June 18, 2024

I think you misunderstand the problem here. The target's folder can even have the full set of binary files of EasyHook and it still throws the exception. When I say target, I mean it's the application I want to hook (not my application). You can try downloading my test project and see it in action. The Sub folder is created to mimic the situation in which there is a target application (TryExitingMe.exe) and an EasyLoad32.dll file (this file is just 0KB in my test project and does not need to be the actual EasyLoad32.dll included with EasyHook).

Now I think this should be fixed and not very little as I said. Think about this situation. The target application (we want to hook) is also an application using EasyHook, so there is a high chance that its main EXE file is in the same folder with EasyLoad32.dll

Now we have another application (used to hook the target) of course also using EasyHook to hook that target. The exception should surely throw then (meaning it cannot hook just because of a file named EasyLoad32.dll existing in the same folder with the target EXE file).

from easyhook.

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.