3 ms·
See this file: https://github.com/lmacken/pyrasite/blob/develop/pyrasite/injector.py https://github.com/lmacken/pyrasite/blob/develop/pyrasite/in... It uses GD
by bibyte 7y ago
See this file: https://github.com/lmacken/pyrasite/blob/develop/pyrasite/injector.py https://github.com/lmacken/pyrasite/blob/develop/pyrasite/in...
It uses GDB to attach to the process. And then evaluates the code inside the process using GDB.