Coder Social home page Coder Social logo

tardummy01 / dll-injector-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eschweiler/dll-injector

0.0 0.0 0.0 516 KB

injects a DLL into a running process or starts a process with DLL being the very first one imported.

C++ 96.85% C 3.15%

dll-injector-1's Introduction

DLL Injector

As I wasn't able to find an equivalent project, I decided to create my own one. This project injects a DLL into a running process or starts a process with DLL being the very first one imported.

Command Line Options

  • -h [ --help ] show help message
  • -r [ --run ] arg starts supplied executable and injects the DLL before any other DLL is loaded or the entry point is reached
  • -p [ --pid ] arg injects DLL into a running process denoted by supplied PID
  • -s [ --suspend ] pause process after DLL injection. Useful for debugging
  • -d [ --dll ] arg DLL to be injected

Examples

DllInjector -r testapp.exe -d dll.dll

DllInjector -p [PID of explorer.exe] -d dll.dll

Build Prerequisites

  • Install the Boost library. Make sure to install it with runtime-link=static!
  • Create an environment variable called BOOSTDIR and make it point to the installed Boost library.
  • If necessary, copy the target installations files, so you will have a directory structure like this:
    • %BOOSTDIR%\include\boost contains all Boost header files
    • %BOOSTDIR%\lib contains all Boost library files
  • In order to run the tests successfully, install the Google C++ Testing Framework.
  • Compile googletest,
  • Create an environment variable called GTESTDIR pointing to the googletest directory.

dll-injector-1's People

Contributors

eschweiler 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.