linux-inject
linux-inject copied to clipboard
Tool for injecting a shared object into a Linux process
I am currently using libc version 2.35, and it looks like `__libc_dlopen_mode` was removed from the library. I found verification for its removal [here](https://github.com/apitrace/apitrace/issues/756), I also can't find it with...
I am getting similar (but slightly different): $ ./inject -n sample-target sample-library.so targeting process "sample-target" with pid 52271 instead of expected SIGTRAP, target stopped with signal 11: Segmentation fault sending...
inject process failed,instead of expected SIGTRAP, target stopped with signal 4: Illegal instruction
[root@centos8-x86_64 linux-inject-master]# ./inject -p 638480 sample-library.so targeting process with pid 638480 instead of expected SIGTRAP, target stopped with signal 4: Illegal instruction sending process 638480 a SIGSTOP signal for debugging...
On some machines of linux x86_64, dlopen() may use movaps instruction, and this requires the target memory (often the stack) to be properly aligned. If not, it will crash the...
After executing the code "ptrace_cont(target);" in line 258, target segfaults. The target is Torchlight2
I am getting this error when attempting to inject a wine program. I am root for both programs.
hello,thanks for your code. i`m a pentest noob,when i test this programmer,i find a issue. i rewrite the sample-library.c to back connect to my host,when i inject the .so to...
currently source code use 1 to flag for load shared object immediately. but this is not enough all of cases, if shared object need to be modify it own properties...
Pre-reqs
You need pre-reqs: gcc-multilib to be installed for the compile to pass. Otherwise, it complains about not finding bits/libc-header-start.h
target will crash if T bit is 1 and gcc compiled injectSharedLibrary() in arm mode.