https://github.com/05st/lightinject
LightInject is a simple command line tool used to inject dlls into a process. It supports different injection methods.
https://github.com/05st/lightinject
command-line command-line-tool cpp dll dll-injection
Last synced: about 1 year ago
JSON representation
LightInject is a simple command line tool used to inject dlls into a process. It supports different injection methods.
- Host: GitHub
- URL: https://github.com/05st/lightinject
- Owner: 05st
- License: mit
- Created: 2020-05-11T23:48:51.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T18:10:23.000Z (about 6 years ago)
- Last Synced: 2025-03-05T20:54:13.747Z (over 1 year ago)
- Topics: command-line, command-line-tool, cpp, dll, dll-injection
- Language: C++
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
LightInject
===========
LightInject is a simple command line tool to inject dlls into a process. It supports different injection methods.
## Methods ##
- CreateRemoteThread (1) *[dllmain_32.dll | dllmain_64.dll]*
- NxCreateThreadEx (2) *[dllmain_32.dll | dllmain_64.dll]*
- QueueUserAPC (3) *[dllmain_32.dll | dllmain_64.dll]*
- SetWindowsHookEx (4) *[dllpoc_32.dll | dllpoc_64.dll]*
Supported OS: Win7 - Win10 (x86)
## Usage ##
You should download the binary from the [releases](https://github.com/05st/lightinject/releases) tab (although it might be slightly outdated compared to building it yourself). I recommend you add it to your PATH environment variable.
If you want to build this project, open up the solution in Visual Studio and build it from there.
```
lightinject.exe processName.exe "C:\directory\example.dll" 1
(Inject example.dll to processName.exe using CreateRemoteThread.)
```