├── .gitignore ├── CallFunction.cs ├── CallFunctionThreadProc.cs ├── Com.Xenthrax.DllInjector.Example ├── Com.Xenthrax.DllInjector.Example.csproj ├── Com.Xenthrax.DllInjector.Example.csproj.user ├── MultiWriter.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── bin │ └── Debug │ ├── Com.Xenthrax.DllInjector.Example.exe │ ├── Com.Xenthrax.DllInjector.Example.pdb │ ├── Com.Xenthrax.DllInjector.Example.vshost.exe │ ├── Com.Xenthrax.DllInjector.Example.vshost.exe.manifest │ ├── Com.Xenthrax.DllInjector.Test.exe │ ├── Com.Xenthrax.DllInjector.Test.pdb │ ├── Com.Xenthrax.DllInjector.dll │ ├── Com.Xenthrax.DllInjector.pdb │ ├── Com.Xenthrax.DllInjectorTest.exe │ ├── Com.Xenthrax.DllInjectorTest.pdb │ └── Com.Xenthrax.DllInjectorTest.vshost.exe.manifest ├── Com.Xenthrax.DllInjector.csproj ├── Com.Xenthrax.DllInjector.sln ├── Common Language Runtime ├── CLR.cs ├── CLRLoader.cs ├── CallManagedFunction.cs ├── CallManagedFunctionThreadProc.cs ├── GetFunctionPointer.cs ├── GetManagedFunction.cs └── ManagedImportAttribute.cs ├── Constructors.cs ├── CreateProcess.cs ├── CurrentProcess.cs ├── Detours ├── CDetourDis.cs └── Detours.cs ├── DllInjector.cs ├── GetFunction.cs ├── Kernel32.cs ├── LICENSE ├── Libraries.cs ├── Marshalling.cs ├── MemoryManagement.cs ├── NativeCallFunction.cs ├── NativeCallFunctionx64.asm ├── NativeCallFunctionx86.asm ├── ProcessHandle.cs ├── ProcessManagement.cs ├── Properties.cs ├── Properties └── AssemblyInfo.cs ├── README.md ├── RemoteImportAttribute.cs ├── SafeHandle.cs ├── Structures.cs ├── ThrowIf.cs ├── Utilities.cs ├── Win32.cs └── bin └── Debug ├── Com.Xenthrax.DllInjector.dll └── Com.Xenthrax.DllInjector.pdb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/.gitignore -------------------------------------------------------------------------------- /CallFunction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/CallFunction.cs -------------------------------------------------------------------------------- /CallFunctionThreadProc.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/CallFunctionThreadProc.cs -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/Com.Xenthrax.DllInjector.Example.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/Com.Xenthrax.DllInjector.Example.csproj -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/Com.Xenthrax.DllInjector.Example.csproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/Com.Xenthrax.DllInjector.Example.csproj.user -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/MultiWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/MultiWriter.cs -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/Program.cs -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.exe -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.pdb -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.vshost.exe -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.vshost.exe.manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Example.vshost.exe.manifest -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Test.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Test.exe -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Test.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.Test.pdb -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.dll -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjector.pdb -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjectorTest.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjectorTest.exe -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjectorTest.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjectorTest.pdb -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjectorTest.vshost.exe.manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.Example/bin/Debug/Com.Xenthrax.DllInjectorTest.vshost.exe.manifest -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.csproj -------------------------------------------------------------------------------- /Com.Xenthrax.DllInjector.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Com.Xenthrax.DllInjector.sln -------------------------------------------------------------------------------- /Common Language Runtime/CLR.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/CLR.cs -------------------------------------------------------------------------------- /Common Language Runtime/CLRLoader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/CLRLoader.cs -------------------------------------------------------------------------------- /Common Language Runtime/CallManagedFunction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/CallManagedFunction.cs -------------------------------------------------------------------------------- /Common Language Runtime/CallManagedFunctionThreadProc.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/CallManagedFunctionThreadProc.cs -------------------------------------------------------------------------------- /Common Language Runtime/GetFunctionPointer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/GetFunctionPointer.cs -------------------------------------------------------------------------------- /Common Language Runtime/GetManagedFunction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/GetManagedFunction.cs -------------------------------------------------------------------------------- /Common Language Runtime/ManagedImportAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Common Language Runtime/ManagedImportAttribute.cs -------------------------------------------------------------------------------- /Constructors.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Constructors.cs -------------------------------------------------------------------------------- /CreateProcess.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/CreateProcess.cs -------------------------------------------------------------------------------- /CurrentProcess.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/CurrentProcess.cs -------------------------------------------------------------------------------- /Detours/CDetourDis.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Detours/CDetourDis.cs -------------------------------------------------------------------------------- /Detours/Detours.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Detours/Detours.cs -------------------------------------------------------------------------------- /DllInjector.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/DllInjector.cs -------------------------------------------------------------------------------- /GetFunction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/GetFunction.cs -------------------------------------------------------------------------------- /Kernel32.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Kernel32.cs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/LICENSE -------------------------------------------------------------------------------- /Libraries.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Libraries.cs -------------------------------------------------------------------------------- /Marshalling.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Marshalling.cs -------------------------------------------------------------------------------- /MemoryManagement.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/MemoryManagement.cs -------------------------------------------------------------------------------- /NativeCallFunction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/NativeCallFunction.cs -------------------------------------------------------------------------------- /NativeCallFunctionx64.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/NativeCallFunctionx64.asm -------------------------------------------------------------------------------- /NativeCallFunctionx86.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/NativeCallFunctionx86.asm -------------------------------------------------------------------------------- /ProcessHandle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/ProcessHandle.cs -------------------------------------------------------------------------------- /ProcessManagement.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/ProcessManagement.cs -------------------------------------------------------------------------------- /Properties.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Properties.cs -------------------------------------------------------------------------------- /Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/README.md -------------------------------------------------------------------------------- /RemoteImportAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/RemoteImportAttribute.cs -------------------------------------------------------------------------------- /SafeHandle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/SafeHandle.cs -------------------------------------------------------------------------------- /Structures.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Structures.cs -------------------------------------------------------------------------------- /ThrowIf.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/ThrowIf.cs -------------------------------------------------------------------------------- /Utilities.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Utilities.cs -------------------------------------------------------------------------------- /Win32.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/Win32.cs -------------------------------------------------------------------------------- /bin/Debug/Com.Xenthrax.DllInjector.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/bin/Debug/Com.Xenthrax.DllInjector.dll -------------------------------------------------------------------------------- /bin/Debug/Com.Xenthrax.DllInjector.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tmthrgd/DLL-Injector/HEAD/bin/Debug/Com.Xenthrax.DllInjector.pdb --------------------------------------------------------------------------------