Pyinjector
A cross-platform tool/library allowing dynamic library injection into running processes. If you are looking for a way to inject python code into a running process, try the hypno library.
Pyinjector has no external python dependencies. It is implemented as a python wrapper for kubo/injector.
Installation
pip install pyinjector
Both source distributions, manylinux2010 wheels and windows wheels are uploaded to Pypi for every release.
Usage
CLI
inject <pid> <path/to/shared/library>
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), Linux (ptrace), and Mac (task_for_pid).
Metadata
Release files for pyinjector 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyinjector-1.4.0.tar.gz | 45.9 kB | Without provenance | Details for pyinjector-1.4.0.tar.gz |
Built distributions (wheels)
Total release size: 745.5 kB
Release files / pyinjector-1.4.0.tar.gz
| Download URL | pyinjector-1.4.0.tar.gz |
|---|---|
| Size | 45.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41f67d802acf17cd1002db686024be6afdac771959e3e245e6581f735b7f631f
|
|
BLAKE2b-256 checksum How to use checksums |
5263275a0d85610a342f86ea2f3ce64ad147387443af441e0f95b09942fb758c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp314-cp314-win_amd64.whl
| Download URL | pyinjector-1.4.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 17.0 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1583fd87905d0351c80f48e74aa3d4a3d0ef6b51d5dceb839ecd84b7d98473fc
|
|
BLAKE2b-256 checksum How to use checksums |
eeb34e4064807d1493eee3b15966f6addda47d3662606b86b832173cdec51583
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp314-cp314-win32.whl
| Download URL | pyinjector-1.4.0-cp314-cp314-win32.whl |
|---|---|
| Size | 14.7 kB |
| Tags | CPython 3.14 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d36b35617524d4c12c32deff55d3e8fef28439a9aad478248979b4d6b6fb646a
|
|
BLAKE2b-256 checksum How to use checksums |
1a3075eb1f5daa1a22ae91ca580bf684ef7794ad2e17e57b430b1a99830e73a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp314-cp314-musllinux_1_2_x86_64.whl
| Download URL | pyinjector-1.4.0-cp314-cp314-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 51.8 kB |
| Tags | CPython 3.14 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
b1c9eee051d88c42523206a6e1b96f0895bbff7d50a4a161a1b7afd449aacca6
|
|
BLAKE2b-256 checksum How to use checksums |
b50ffa6423ece899bca973fad28e12b4f0bc8bcaa354afcb5747c2ad916c1991
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyinjector-1.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 56.9 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1f57c5526eb7fc298ec89be5b749a7ce07804772ccc38a8f190d45f389319c18
|
|
BLAKE2b-256 checksum How to use checksums |
c054e30d29272056bdbe6af40dcccdf81d077ac7ba4742c4cecc000b758d4c78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp313-cp313-win_amd64.whl
| Download URL | pyinjector-1.4.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 16.7 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b2950d5173f981dcf48553de29ed33ed288495c8ceda702e152653e15b17bfd9
|
|
BLAKE2b-256 checksum How to use checksums |
d5b5541b0015684f78176caf2e9384f62e8dde616ecefd1dca0f56b1b19d996b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp313-cp313-win32.whl
| Download URL | pyinjector-1.4.0-cp313-cp313-win32.whl |
|---|---|
| Size | 14.4 kB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
cac9f62c56af3bf57d5719c28f5674efc663e1fa32c025990e10acd204bd0e38
|
|
BLAKE2b-256 checksum How to use checksums |
88882d7b7238b49bfd15f6ea85f585583b5d47d9260ac876479355c001422dd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | pyinjector-1.4.0-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 51.8 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
960dcc5041241b99ab0d4783965d6afadc205a746558ba12eee1517bf50f567b
|
|
BLAKE2b-256 checksum How to use checksums |
17a08e0dcf1f5eab228c738a895fa9444c4a7f26893c0a575143885961edf982
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyinjector-1.4.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 56.9 kB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d29f61b1924d2bca64173e207eaad332a48c5ca1ec1bedba561914d79f2f25f9
|
|
BLAKE2b-256 checksum How to use checksums |
e0fd5ca17a5a5ec920531195980978b82df5c64ea3a74881ba0155723e5361c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp312-cp312-win_amd64.whl
| Download URL | pyinjector-1.4.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 16.7 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2fc66dc337df2085b68f1f453739a507e8163d42425e4f62f522af30932bedac
|
|
BLAKE2b-256 checksum How to use checksums |
5743486dbb161000ce0cce2fdc057ca10e64d9e53c5cc68cbe8a1800044b67f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp312-cp312-win32.whl
| Download URL | pyinjector-1.4.0-cp312-cp312-win32.whl |
|---|---|
| Size | 14.4 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
e180580daedba8cd40df23ef62e4e730f0798b0afd5ca0421b306755459425fd
|
|
BLAKE2b-256 checksum How to use checksums |
6ae7d2c77089fef8a2e258b25f2640a30e0c394859a1a9ca2b840be33fe2ffca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | pyinjector-1.4.0-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 51.8 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
97d8f77feaf7e69db064f326c973f478a6e280275eba001aa6f44e804b13a12b
|
|
BLAKE2b-256 checksum How to use checksums |
7f8a83f2cd4beb095c0979b331eeaba3e3ae0348a2aca9687f925e62ea3820c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyinjector-1.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 56.9 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
640aa19193ee25f2a4cabd2cda25b34b65b446db6d42952c8d20821ea98ddd31
|
|
BLAKE2b-256 checksum How to use checksums |
2224c316331eb25fa781daa2de75e4f7685d90a9dfc29c721c0f6e79f6b0ab48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp311-cp311-win_amd64.whl
| Download URL | pyinjector-1.4.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 16.6 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7e169704f85903a74525ff10e41f66a8f3f87875745da240ca58d93ad274dcea
|
|
BLAKE2b-256 checksum How to use checksums |
8c14bcd0d4942bd49e4410b10d98d3330f563de6942ec8b33756de9bb922ff8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp311-cp311-win32.whl
| Download URL | pyinjector-1.4.0-cp311-cp311-win32.whl |
|---|---|
| Size | 14.4 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
878a4e6bdf2e94e16fb7b3f61130c50dc964814adfd05fdb46f419b16cb3614c
|
|
BLAKE2b-256 checksum How to use checksums |
cb62a086cc11fd259178860bd78c96c85bb1ce386e38232c4eff7dc8955641b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | pyinjector-1.4.0-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 51.8 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
f84da846589c12f9eb414e0aed5223b55d38c035e35aefdb7e6e4ba971ac34b9
|
|
BLAKE2b-256 checksum How to use checksums |
6fff8e76b7398b4b4641d9c328fced7f3b40d04c1776800d651cf258113108d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyinjector-1.4.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 56.9 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
32a35a9f31cfdbf6c0d19d0a76b2fce7ab63c5d373e134d18d1ff047193d0378
|
|
BLAKE2b-256 checksum How to use checksums |
6e3edfb214f5d2e59c8d81236ca48df174fd7fedb22454e4f239528bd787a0c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp310-cp310-win_amd64.whl
| Download URL | pyinjector-1.4.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 16.7 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
de00b26fe1b8fc357696cd38b169f1b0934b043cbf422407258415d683b8eef8
|
|
BLAKE2b-256 checksum How to use checksums |
214b93bacaf7e09d7039d0f11847835f454ef7d765f82f015212d22feefd6835
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp310-cp310-win32.whl
| Download URL | pyinjector-1.4.0-cp310-cp310-win32.whl |
|---|---|
| Size | 14.4 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
3feb45441d8f5f5bd3348d61f81249c1514931d99534dd12623ef5bbff58d875
|
|
BLAKE2b-256 checksum How to use checksums |
e2321ac75659ac8beddabcf98d5ea69363b22ea5a9a50d409d7a312c751e1ba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | pyinjector-1.4.0-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 51.8 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
24d98ed4beb85d1334addd03679ed5d0c6e14193aa0722a3a6912d2f132236be
|
|
BLAKE2b-256 checksum How to use checksums |
19c7b778e7d93aa89229621bb78a8c6c294b1f8382faf026fc50eb5f980a5b81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pyinjector-1.4.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pyinjector-1.4.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 56.9 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
438341e4083d1b4c75bcf720e70b045820fce7f941014a75e92084a1e11fcae8
|
|
BLAKE2b-256 checksum How to use checksums |
3dd3b802062a233c9ebc877e3e353571b7df5ab3cfa6a3271c9f13141562b538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for pyinjector 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.