A tool/library allowing dynamic library injection into running processes
Project description
Pyinjector
A tool/library allowing dynamic library injection into running processes. Has no external python dependencies. Implemented as a python wrapper for kubo/injector.
Installation
pip install pyinjector
Both source distributions and manylinux2010
wheels are upoloaded to pypi for every release.
Usage
CLI
inject <pid> <path to .so file>
API
from pyinjector import inject
inject(pid, path_to_so_file)
How it works
We build kubo/injector as a C-extension and use its interface using ctypes
.
kubo/injector is an awesome repo allowing to inject shared libraries into running
processes both on windows (CreateRemoteThread
+LoadLibrary
) and on linux (ptrace
).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyinjector-0.1.4.zip
(23.5 kB
view hashes)
Built Distributions
Close
Hashes for pyinjector-0.1.4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1382ca9909b4e3fc915c07becfaa0a3c662854b11244215e3b6570522809e1dc |
|
MD5 | ed0228001ec78c7d0ba855d8d1782844 |
|
BLAKE2b-256 | 252cc7f640d416679fcfb1ccc57690f4dc9199c2f08f080d2bb9d550531bd7c1 |
Close
Hashes for pyinjector-0.1.4-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ceb1bc62e587371153344608a7e0a3b3e116c6dabd53de1008209ab6490edd |
|
MD5 | 147924fb968b76dde74aacdb07c5c9f7 |
|
BLAKE2b-256 | 3b61501411bed0a3415c59d9058555ce8ffea96662eeec1928e0161aeb2b5736 |
Close
Hashes for pyinjector-0.1.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb8fc0b20792ade7d4edbd2aeb063c31f479fbf79935cb06592dfbc868f3d0d7 |
|
MD5 | 324435e890a163fd747043d4c34b847d |
|
BLAKE2b-256 | b2c66d7b8815ba345baf02cf3c3ba64bea8f679d5153a26a8a954f0b7900f5bb |
Close
Hashes for pyinjector-0.1.4-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afb7047fc5b80891160ab42faad4d4c5849ca809c13009a66de1868d1c299cf |
|
MD5 | c15c39c693c30b7b9564da3ea7d47f6b |
|
BLAKE2b-256 | 893dd6279de812244e58d6e267eeb04de58c941c3e210e7d8d8304610fb7251b |
Close
Hashes for pyinjector-0.1.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64103666bef76d66e59b2e57290fce7a50c52bb728c0654cfc2f8fff9de2cd0a |
|
MD5 | bf1697b0eb869c43f18cde2eb28b850a |
|
BLAKE2b-256 | 5ab6c453d5df776b71560d66c2d1b66af8d1ae7d80c0c5e91ee35e865cbf9f5e |
Close
Hashes for pyinjector-0.1.4-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1269f281db4ee70180706cb97255063fcca606d27114b05fecee3045a7ed29fb |
|
MD5 | 8c64ed4d518ace6517eef45e8f9bd3f7 |
|
BLAKE2b-256 | 0d1172f1e14ed3a906b92d64e3a2cbeaeb2288c8c7d5e19100bb1df3473d2476 |
Close
Hashes for pyinjector-0.1.4-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f8790c1b69f915049db28ba7c11d2e3af30a269781932b3ec329b4a5fa304e4 |
|
MD5 | e08fbafb5bb1d1d88caaa334cb419fdb |
|
BLAKE2b-256 | 725f674522db112928100ab8c9756eacc5f3a11a79f65bcc55533f22304a273d |
Close
Hashes for pyinjector-0.1.4-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d958053f11ea14d4a1708ca6ee5ef7c4798596ad5f0f0d7c08445456e47098b |
|
MD5 | 417dd78f0ab84ef9b59cfe11aad84568 |
|
BLAKE2b-256 | b5467121a924964b591aca45487d00070df5fc3134a56d8be82bca4e2f97a4d8 |