[Release] DLL Injector in python

03/28/2024 09:02 mickhat#1
DLL Injector Project

This project provides a Python-based tool for injecting DLLs (Dynamic Link Libraries) into running processes. It's designed for educational purposes, debugging, and testing DLLs in a controlled environment. To successfully inject a DLL into a process, the script must be run with administrative privileges. This is necessary to allow the script to modify other processes, which is typically restricted to prevent unauthorized system changes.

Features

Inject a DLL into a specified process by name.
Automatically resolve the process name to its PID.
Simple command-line interface for easy operation.
Error handling for common issues encountered during injection.

Requirements

Python 3.6 or newer.
psutil and pyinjector Python packages.
Installation
Ensure Python 3.6+ is installed on your system.
Clone this repository or download the source code.
Install required Python packages:
pip install psutil pyinjector

Usage
Run the tool from the command line, specifying the target process name and the path to the DLL you wish to inject:

python dll-injector.py <process_name> <path_to_dll>
For example, to inject example.dll into targetapp.exe, use:

python dll-injector.py targetapp.exe C:\path\to\example.dll
Contributing
Contributions to the project are welcome. Please adhere to conventional coding standards and provide documentation for any new features or changes.

License

This project is open-source and free to use. It is released under the MIT License.

Disclaimer

This tool is provided as-is without any warranty. The authors or contributors are not responsible for any misuse or damage caused by this tool. It is intended for educational and testing purposes only. Use it responsibly and ethically, ensuring you have appropriate permissions to interact with the target processes.

[Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]
04/01/2024 01:37 mickhat#2
I've also created a GUI version of the tool now .
You can find the Sourcecode here: [Only registered and activated users can see links. Click Here To Register...]

and here is the VT link: [Only registered and activated users can see links. Click Here To Register...]


[Only registered and activated users can see links. Click Here To Register...]
04/03/2024 10:53 g0khanbey#3
not working failed problem
04/03/2024 11:38 mickhat#4
Can you please provide me a screenshot so i can check it?
04/03/2024 11:43 g0khanbey#5
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
04/03/2024 18:06 VICEKjf#6
can you make a tutorial how to run that i dont know how to run this in python
04/03/2024 18:20 mickhat#7
You can also use the .exe from the Release page.

Quote:
Originally Posted by g0khanbey View Post
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
I will investigate this later today.
04/03/2024 18:57 VICEKjf#8
why i dont see metin2client in process? i cant inject help
04/04/2024 10:11 mickhat#9
You also can just type the process name metin2client.exe.

I can inject the required DLLs from the M2Hack without any issues into Metin2
04/04/2024 10:14 g0khanbey#10
m2heat dll not inject but I can do it with another injector but i need python injector
04/04/2024 10:26 mickhat#11
I've just tested the injection with M2heat and the GUI version and it works!
04/04/2024 10:49 g0khanbey#12
The problem is that I did not use Turkish characters in the file path.

I know software too, but :D I missed it.