Git Product home page Git Product logo

dll-injector-2's Introduction

Windows Dynamic-link Library Injector

C++ Windows License DOI

Languages

Introduction

Dll-Injector is a Windows dynamic-link library injection tool written in C++20. It can inject a .dll file into a running process by searching its window title or create a new process with an injection.

Getting Started

Warning

The project does not contain building configuration files, the source code can be built manually with Visual Studio 2022.

Prerequisites

The project need to configure on/for Windows 32-bit.

Usage

Dll-Injector [-f <proc-path> | <win-title>] <dll-path>

Inject a Dll into a Running Process

To inject a .dll file into a running process, you need to specify the window title of the target process and the path of the .dll file. If dll-path is a relative path, it must be relative to the Dll-Injector.exe.

Dll-Injector <win-title> <dll-path>

For example, inject the dllmain_msg.dll (assume it is in the same directory as Dll-Injector) into Windows Calculator:

Dll-Injector Calculator dllmain_msg.dll

Create a New Process with an Injection

To create a new process with an injection, you must enable the -f option firstly and then specify the paths of the target process and the .dll file. If dll-path is a relative path, it must be relative to the process file.

Dll-Injector -f <proc-path> <dll-path>

Documents

Code comments follow Doxygen specification.

The class diagram is created by PlantUML. See docs/class-diagram.plantuml for more details.

class-diagram

License

Distributed under the GNU General Public License. See LICENSE for more information.

Citing

@software{chenzs108_2021_4698332,
  author       = {Chen Zhenshuo and Liu Guowen},
  title        = {Zhuagenborn/Dll-Injector: v1.0.0},
  month        = apr,
  year         = 2021,
  publisher    = {Zenodo},
  version      = {v1.0.0},
  doi          = {10.5281/zenodo.4698332},
  url          = {https://doi.org/10.5281/zenodo.4698332}
}

Contact

dll-injector-2's People

Contributors

czs108 avatar brandonros avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.