Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kein opened this issue Apr 19, 2021 · 2 comments
Open

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

Kein opened this issue Apr 19, 2021 · 2 comments

Comments

@Kein
Copy link

Kein commented Apr 19, 2021

mapFile = WriteSharedMemory(sharedMemName, payload);

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?

@mattolenik
Copy link
Owner

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.

@Kein
Copy link
Author

Kein commented Apr 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants