Skip to content

Tadakai/DLL-Injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DLL Injector

A simple Windows DLL injector that uses the classic CreateRemoteThread + LoadLibrary technique. It can inject a DLL into a target process specified by PID or by process name, and also list running processes.

Features

  • Inject DLL by PID (-p) or by process name (-n)
  • List all running processes with their names and PIDs (-l)
  • Clean and modular C++ code (separate files for injection logic, process utilities and CLI parsing)

Requirements

  • Windows (or Wine for testing on Linux)
  • MinGW‑w64 (for cross‑compilation) or MSVC (Visual Studio)

Usage

injector.exe [options]
Option Description
-l, --list List all running processes (PID and name) and exit.
-p, --pid <PID> Inject into the process with the specified PID.
-n, --name <name> Inject into the first process with the given name (e.g. notepad.exe).
-d, --dll <path> Full path to the DLL to be injected.

If no arguments are given, the program shows the help and a process list.

Project Structure

DLL-Injector/
├── .gitignore
├── README.md
├── Makefile
└── src/
    ├── main.cpp
    ├── injector.h
    ├── injector.cpp
    ├── process_utils.h
    └── process_utils.cpp
  • injector.* – DLL injection logic
  • process_utils.* – process enumeration and name lookup
  • main.cpp – command‑line interface

Notes

  • The injected DLL must match the architecture (32/64‑bit) of the target process.
  • Some processes are protected (e.g. system processes, games with anti‑cheat) and will refuse injection.
  • Antivirus software may flag this tool as suspicious – that's expected.

About

A simple Windows DLL injector that uses the classic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages