https://github.com/jiusanzhou/injgo
:rainbow: injgo is a tool and library for DLL injector which written in Golang. 用Golang实现的Windows下的进程DLL注入工具
https://github.com/jiusanzhou/injgo
dll-hooking golang hook injector remote-thread-injection win32api zoe-lab
Last synced: about 2 months ago
JSON representation
:rainbow: injgo is a tool and library for DLL injector which written in Golang. 用Golang实现的Windows下的进程DLL注入工具
- Host: GitHub
- URL: https://github.com/jiusanzhou/injgo
- Owner: jiusanzhou
- Created: 2020-03-02T13:39:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T06:07:12.000Z (over 1 year ago)
- Last Synced: 2024-10-28T08:14:52.636Z (7 months ago)
- Topics: dll-hooking, golang, hook, injector, remote-thread-injection, win32api, zoe-lab
- Language: Go
- Homepage: https://go.zoe.im/injgo
- Size: 18.6 KB
- Stars: 47
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `injgo`
**Injgo** is a tool for dynamic library injecting which written in Golang.
[](https://travis-ci.org/jiusanzhou/injgo) [](https://godoc.org/github.com/jiusanzhou/injgo) [](https://goreportcard.com/report/jiusanzhou/injgo) [](https://twitter.com/jiusanzhou "@Zoe on Twitter") [](https://sourcegraph.com/github.com/jiusanzhou/injgo?badge "InjGo on Sourcegraph")
|If you are a rustacean, try the Rust version: [injrs 🦀](https://github.com/jiusanzhou/injrs)|
|:---|### Features
- **Pure `Go`**
- **Zero dependency**
- **Simple usage**### Usage
You can use `injgo` as a cli tool.
**1. Install**
```bash
go get go.zoe.im/injgo/cmd/...
```**2. Inject**
```bash
injgo PROCESS_NAME/PROCESS_ID DLL...
```Also, you can use `injgo` as library.
### API
- `Inject(pid int, dllname string, replace bool) error`
- `InjectByProcessName(name string, dll string, replace bool) error`### TODO
- [ ] Use injector to handle result
- [ ] Unload injected DLLs