https://github.com/nefarius/injector
Command line utility to inject and eject DLLs
https://github.com/nefarius/injector
api-hook api-hooking dll dll-injection
Last synced: 2 months ago
JSON representation
Command line utility to inject and eject DLLs
- Host: GitHub
- URL: https://github.com/nefarius/injector
- Owner: nefarius
- License: mit
- Created: 2012-05-24T16:30:25.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T19:24:14.000Z (12 months ago)
- Last Synced: 2025-04-13T00:46:39.194Z (2 months ago)
- Topics: api-hook, api-hooking, dll, dll-injection
- Language: C++
- Homepage:
- Size: 124 KB
- Stars: 658
- Watchers: 15
- Forks: 105
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
Injector
DLL injection/ejection command-line utility.
[](https://github.com/nefarius/Injector/actions/workflows/msbuild.yml) [](https://somsubhra.github.io/github-release-stats/?username=nefarius&repository=Injector)
## About
Inject any DLL into any running process with ease! Injector is a command line tool abstracting the messy injection process away from you. It can't be more simple:
`Injector.exe --process-name notepad.exe --inject C:\Temp\myHooks.dll C:\Temp\myOverlay.dll`
You may use it in you post-build events in Visual Studio to save time and take away complexity of code by "outsourcing" the injection process. You may of course use it for any othe scenario which comes on your mind. Check out the possible command line arguments:
- `-n|--process-name` identifies the target process by its module name
- `-c|--case-sensitive` makes `-n` case-sensitive.
- `-w|--window-name` identifies the target process by its main windows name
- `-p|--process-id` identifies the target process by its PID
- `-i|--inject` or `-e|--eject` specifies the action to perform (inject or eject the DLL)Then simply append one or more absolute (or relative) path(s) of the DLL to be in-/ejected.
Invoke `Injector.exe -h` for help.
## Credits
Many thanks to [Joshua "Cypher" Boyce](https://web.archive.org/web/20160316200123/http://www.raptorfactor.com/) who initially wrote the injection-classes and shared them with the world.
[Argh! by Adi Shavit](https://github.com/adishavit/argh) is used to parse the command-line arguments.
## Downloads
Head over to [Releases](https://github.com/nefarius/Injector/releases/latest) to download x86, x64 and ARM64 binaries.