TL;DR
The source code of this idea is available on GitHub
And the weaponized version is available in emp3r0r
- Use
echo 'print __libc_dlopen_mode("/path/to/library.so", 2)' | gdb -p <PID>
for process injection
- Write a shared library to inject into sshd process
- In the library, fork a child …
View comments.
more ...