0
votes

Right now i have a DLL written on C++, which injected through simple C# LoadLibraryA injector. DLL is extracted right before injecting from resources to my hdd... but how to inject it in process right from resources without extracting?

1
into your process, or into another process? and i think you can't use anything directly from the resources without extracting. You could encode your dll in a Base64 String and then load it from a stream.Sebastian L
Into another process.Antrix

1 Answers

0
votes

No way to do what you want. Method LoadLibrary for loading unmanaged dll has no overloads and has one argument - path to library. This question contains simple example of loading dll from memory, but it very simple.