NativeInjector icon indicating copy to clipboard operation
NativeInjector copied to clipboard

[Q] What he point of doing test write in shared memory?

Open Kein opened this issue 4 years ago • 2 comments

https://github.com/mattolenik/NativeInjector/blob/c0e779927cad78da66d00ee277ccabdd43b8b33f/NativeInjector/Injector.cs#L78

Random map file created that has 0 relevance to actual injection logic and mechanism that is done through interop. What was the point of it?

Kein avatar Apr 19 '21 06:04 Kein

That's not random, that's for writing a payload and making it available to the injected code. In my project I used this to pass a string and make it available inside the other process.

mattolenik avatar Apr 19 '21 17:04 mattolenik

Yeah, I've already figured it out, thanks! Thought it was some random edge-case workaround for injection issues, like not enough COM shared memory allocated so it throws

Kein avatar Apr 20 '21 04:04 Kein