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

Linux-injector crashes the target after injecting code #3

Open
korcankaraokcu opened this issue Jun 3, 2016 · 2 comments
Open

Linux-injector crashes the target after injecting code #3

korcankaraokcu opened this issue Jun 3, 2016 · 2 comments

Comments

@korcankaraokcu
Copy link

The moment linux-injector prints "Code injection successful", target crashes. Tested on KMines and Torchlight2

@dismantl
Copy link
Owner

Can you give any more detailed information on this (architecture, error messages, core dump, etc.)? There's not much I can do without that info. I was able to inject into KMines successfully on Linux Mint 17.1 without crashing the program.

@korcankaraokcu
Copy link
Author

Sorry I was very busy at that time, you are right, I should have explained it more in-depth. I reproduced the problem today again. Here's the in-detail results:

I compiled this code to a .so file by running gcc -pthread -shared -g -O2 -o InitialCodeInjections.so -fPIC example.c in terminal and then tried to inject it to KMines.

Here's the output of the injector
KMines crashed by a Segmentation fault at the moment I dragged the mouse back into the program, leaving this core file behind.

I'm using x86_64 Kubuntu 14.04 btw

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