Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasherezade/dll_injector
A simple commandline injector using classic DLL injection
https://github.com/hasherezade/dll_injector
dll-injection dll-injector hooking injector
Last synced: 3 months ago
JSON representation
A simple commandline injector using classic DLL injection
- Host: GitHub
- URL: https://github.com/hasherezade/dll_injector
- Owner: hasherezade
- Created: 2021-09-02T02:35:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T17:07:20.000Z (over 2 years ago)
- Last Synced: 2024-07-30T18:07:58.377Z (6 months ago)
- Topics: dll-injection, dll-injector, hooking, injector
- Language: C++
- Homepage:
- Size: 39.1 KB
- Stars: 135
- Watchers: 7
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DLL Injector
[![Build status](https://ci.appveyor.com/api/projects/status/62n5oral9idn4jg5?svg=true)](https://ci.appveyor.com/project/hasherezade/dll-injector)
A simple commandline DLL injector.
Supported actions:
+ Load DLL
+ Unload DLL
+ Check if the DLL is loadedAllows to inject into:
+ Existing process
+ Newly created processArguments:
```
Required:
/dll
: DLL path
/target
: Exe to be run with the DLL injected, or target PID (where to inject)Optional:
/action <*action_id>
: Action to be executed
*action_id:
0 (C) - check if the DLL is loaded
1 (L) - load the DLL [DEFAULT]
2 (U) - unload the DLL
/cmd
: Commandline arguments (for a newly created process)
```**NOTE:** Use the injector and a DLL with the same bitness as your target (appropriately 32, or 64 bit).
Builds
-
📦 ⚙️ Download the latest [release](https://github.com/hasherezade/dll_injector/releases).Clone
-
Use recursive clone to get the repo together with all the submodules:
```console
git clone --recursive https://github.com/hasherezade/dll_injector.git
```Hooking DLLs
-
This is a generic injector, not tied to any particular hooking engine.If you need a quick template helpful in building your own injectable DLL, you can check [this one](https://github.com/hasherezade/detours_cmake_tpl).