Skip to content

Genmax01/GenmaDLLInjector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple tool to inject a .dll into an .exe

You can use the interface, or simply use the pythoninjector.py

Capture d’écran 2025-04-06 084418


Release standalone version :

Setup


1. Clone the repository:

git clone https://github.com/Genmax01/GenmaDLLInjector.git
cd GenmaDLLInjector

2. Create and activate a virtual environment (recommended)

Windows

python -m venv .venv
.\.venv\Scripts\activate

3. Install requirements

pip install -r requirements.txt

4. Run

python genmaDLLInjector.py

Libraries needed (if you don t use the requirements file):

pip install pywin32, psutil, PyQt6  

example with pythoninjector.py if you don t want to use the interface:

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()

About

A Simple Dll Injector in python with a pyqt6 interface

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages