Simple tool to inject a .dll into an .exe
You can use the interface, or simply use the pythoninjector.py
git clone https://github.com/Genmax01/GenmaDLLInjector.git
cd GenmaDLLInjectorpython -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
python genmaDLLInjector.py
pip install pywin32, psutil, PyQt6
from src import pythoninjector
dll_name_to_inject = 'myDll.dll'
myInjector = myDllInjector(dll_name_to_inject)
myInjector.setTarget('notepad++.exe')
# check if target found
if myInjector.pid:
print(f'Injecting {myInjector.dll_name} to {myInjector.target_process_name}. PID: {myInjector.pid}')
# Close Dll
myInjector.inject_dll()
# Close process
myInjector.close_process()