GitHub
github.com › python-injector › injector
GitHub - python-injector/injector: Python dependency injection framework, inspired by Guice · GitHub
While dependency injection is easy to do in Python due to its support for keyword arguments, the ease with which objects can be mocked and its dynamic nature, a framework for assisting in this process can remove a lot of boiler-plate from larger applications. That's where Injector can help. It automatically and transitively provides dependencies for you. As an added benefit, Injector encourages nicely compartmentalised code through the use of modules.
Starred by 1.5K users
Forked by 96 users
Languages Python
PyPI
pypi.org › project › injector
injector · PyPI
» pip install injector
Videos
GitHub
github.com › sethsec › PyCodeInjection
GitHub - sethsec/PyCodeInjection: Automated Python Code Injection Tool · GitHub
Automated Python Code Injection Tool. Contribute to sethsec/PyCodeInjection development by creating an account on GitHub.
Starred by 87 users
Forked by 23 users
Languages Python 96.8% | HTML 2.1% | Shell 1.1%
Readthedocs
injector.readthedocs.io
Injector 0.24.0 documentation
While dependency injection is easy to do in Python due to its support for keyword arguments, the ease with which objects can be mocked and its dynamic natura, a framework for assisting in this process can remove a lot of boiler-plate from larger applications. That’s where Injector can help. It automatically and transitively provides dependencies for you. As an added benefit, Injector encourages nicely compartmentalised code ...
PyPI
pypi.org › project › pyinjector
pyinjector · PyPI
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.
» pip install pyinjector
BreakInSecurity
axcheron.github.io › code-injection-with-python
Code Injection with Python - BreakInSecurity
December 29, 2017 - How to inject a backdoor into a PE file with Python.
GitHub
github.com › Stanislav-Povolotsky › PyInjector
GitHub - Stanislav-Povolotsky/PyInjector: PyInjector - inject your python-code into any running python process or spawn interactive python-shell inside this process (even if it's GUI process)
PyInjector - Inject python-code into any python process or spawn interactive python-shell inside the target process.
Starred by 54 users
Forked by 9 users
Languages C++ 75.9% | Python 18.1% | PowerShell 6.0% | C++ 75.9% | Python 18.1% | PowerShell 6.0%
Ets-labs
python-dependency-injector.ets-labs.org › introduction › di_in_python.html
Dependency injection and inversion of control in Python — Dependency Injector 4.48.3 documentation
This page describes a usage of the dependency injection and inversion of control in Python. It contains Python examples that show how to implement dependency injection. It demonstrates a usage of the dependency injection framework Dependency Injector, its container, Factory, Singleton and Configuration providers.
Andrea Fortuna
andreafortuna.org › 2018 › 08 › 20 › pycodeinjector-a-simple-python-code-injection-library
pycodeinjector: a simple python Code Injection library | Andrea Fortuna
August 20, 2018 - |________|_____________________|_ | | | | | | | | | | | | | |________________ |________|_P_y_c_I_n_d_o_l_o_r_|_| | | | Simple PoC for pycodeinjection library Proudly developed by Andrea Fortuna andrea@andreafortuna.org https://www.andreafortuna.org python pycIndolor.exe <process to inject> <commands to inject> Simply start the script passing target process and commands to inject and wait. Obviously the library is in a very early development stage: the actual aim is update it with any new discovery that i will find. Code injection on Windows using Python: a simple example
PortSwigger
portswigger.net › kb › issues › 00100f10_python-code-injection
Python code injection - PortSwigger
Server-side code injection vulnerabilities arise when an application incorporates user-controllable data into a string that is dynamically evaluated by a code interpreter. If the user data is not strictly validated, an attacker can use crafted input to modify the code to be executed, and inject arbitrary code that will be executed by the server.
GitHub
github.com › ivankorobkov › python-inject
GitHub - ivankorobkov/python-inject: Python dependency injection
Python dependency injection. Contribute to ivankorobkov/python-inject development by creating an account on GitHub.
Starred by 755 users
Forked by 85 users
Languages Python 98.3% | Makefile 1.7% | Python 98.3% | Makefile 1.7%
DataCamp
datacamp.com › tutorial › python-dependency-injection
Python Dependency Injection: A Guide for Cleaner Code Design | DataCamp
July 24, 2025 - Dependency injection makes your code modular, testable, and maintainable. You can implement dependency injection in Python either manually or by using libraries such as dependency_injector.
eLearnSecurity
doyler.net › home › exploiting python code injection in web applications
Exploiting Python Code Injection in Web Applications
April 11, 2018 - I was looking into python code injection recently, and ran across SethSec’s blog post. This looked like a great example, and I wanted to run through it myself. First off, I downloaded the PyCodeInjection application and got it running locally. root@kali:~/Documents# ls root@kali:~/Documents# git clone https://github.com/sethsec/PyCodeInjection.git Cloning into 'PyCodeInjection'... remote: Counting objects: 67, done. remote: […]
PyPI
pypi.org › project › inject
inject · PyPI
In this case inject immediately raises InjectorException when the code tries to get an unbound instance. It is possible to use any hashable object as a binding key. For example: import inject inject.configure(lambda binder: \ binder.bind('host', 'localhost') \ binder.bind('port', 1234)) I've used Guice and Spring in Java for a lot of years, and I don't like their scopes. python-inject by default creates objects as singletons.
» pip install inject
GitHub
github.com › call-042PE › PyInjector
GitHub - call-042PE/PyInjector: PyInjector - Inject Python code into python process.
Simply write the code you want to inject into a file called code.py. The file as to be in the same folder of the software you want to inject it. You can also write it directly in the dll and recompile it.
Starred by 228 users
Forked by 32 users
Languages C++ 84.7% | Python 15.3% | C++ 84.7% | Python 15.3%