~ruther/csharp-dll-injector

ref: 322bb9b0c6137a531527a5833c296838882b74f1 csharp-dll-injector/README.md -rw-r--r-- 703 bytes
322bb9b0 — František Boháček Add Calculation result return examples 4 years ago

#Important

Only one function parameter can be passed. x64 processes aren't currently supported. (maybe just the dlls I tried to inject were the problem)

#C-Sharp dll injector

This is a simple C# dll injector. It can inject dll into remote process and execute functions of it.

#Examples

  • /examples/csharp-dllexport

    • Injection of C# library using DllExport
  • /examples/cpp

    • Injection of cpp dynamic library

#Getting started

  • To inject dll use Injector class, the Inject method will return InjectedModule with ExecuteFunction method
InjectedModule injectedModule = Injector.Inject("RemoteProcess", "MyDynamicLibrary.dll");
injectedModule.ExecuteFunction("Main");
Do not follow this link