|
| 1 | + |
| 2 | +<br /> |
| 3 | +<div align="center"> |
| 4 | + |
| 5 | + |
| 6 | +<h3 align="center">GoInject</h3> |
| 7 | + |
| 8 | + <p align="center"> |
| 9 | + GoInject is a dynamic-link library injection program written in Go. |
| 10 | + </p> |
| 11 | +</div> |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<!-- TABLE OF CONTENTS --> |
| 16 | +<details> |
| 17 | + <summary>Table of Contents</summary> |
| 18 | + <ol> |
| 19 | + <li> |
| 20 | + <a href="#about-the-project">About The Project</a> |
| 21 | + <ul> |
| 22 | + <li><a href="#built-with">Built With</a></li> |
| 23 | + </ul> |
| 24 | + </li> |
| 25 | + <li> |
| 26 | + <a href="#getting-started">Getting Started</a> |
| 27 | + <ul> |
| 28 | + <li><a href="#installation">Installation</a></li> |
| 29 | + </ul> |
| 30 | + </li> |
| 31 | + <li><a href="#usage">Usage</a></li> |
| 32 | + <li><a href="#roadmap">Roadmap</a></li> |
| 33 | + <li><a href="#contributing">Contributing</a></li> |
| 34 | + <li><a href="#license">License</a></li> |
| 35 | + </ol> |
| 36 | +</details> |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +<!-- ABOUT THE PROJECT --> |
| 41 | +## About The Project |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +GoInject is a dynamic-link library injector that is written in Go. It makes use of Windows system calls and wrappers. The graphical user interface is based on the Fyne toolkit. |
| 46 | + |
| 47 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | +### Built With |
| 52 | + |
| 53 | +* [Go](https://go.dev/) |
| 54 | +* [Fyne](https://fyne.io/) |
| 55 | + |
| 56 | + |
| 57 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +<!-- GETTING STARTED --> |
| 62 | +## Getting Started |
| 63 | + |
| 64 | +To build the executable from source, follow these steps. |
| 65 | + |
| 66 | + |
| 67 | +### Installation |
| 68 | + |
| 69 | +1. Clone the repo |
| 70 | + ```sh |
| 71 | + git clone https://github.com/tjandy98/goinject.git |
| 72 | + ``` |
| 73 | +3. Install dependencies |
| 74 | + ```sh |
| 75 | + go mod tidy |
| 76 | + ``` |
| 77 | +4. Generate executable binary |
| 78 | + ```sh |
| 79 | + go build |
| 80 | + ``` |
| 81 | + |
| 82 | + > To build for 32-bit and 64-bit, set the environment variable `GOARCH` to `amd64` for 64-bit and `386` for 32-bit. |
| 83 | +
|
| 84 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | +<!-- USAGE EXAMPLES --> |
| 89 | +## Usage |
| 90 | + |
| 91 | +A target process should be selected from the list of active processes. Upon selecting a process, the target process name and the target process ID will be displayed. |
| 92 | +A valid DLL path should be set either by manually entering the path, or using the built-in file dialog. |
| 93 | + |
| 94 | +Finally, the DLL can be injected into the target process by clicking on the Inject button. |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | +<!-- ROADMAP --> |
| 103 | +## Roadmap |
| 104 | +- [ ] Add process filter |
| 105 | +- [ ] Save configurations |
| 106 | +- [ ] Add more injection techniques |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | +<!-- CONTRIBUTING --> |
| 115 | +## Contributing |
| 116 | + |
| 117 | +Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. |
| 118 | + |
| 119 | +If you have a suggestion that would make this better, please fork the repo and create a pull request. |
| 120 | +Don't forget to give the project a star! Thanks again! |
| 121 | + |
| 122 | +1. Fork the Project |
| 123 | +2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) |
| 124 | +3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) |
| 125 | +4. Push to the Branch (`git push origin feature/AmazingFeature`) |
| 126 | +5. Open a Pull Request |
| 127 | + |
| 128 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | +<!-- LICENSE --> |
| 133 | +## License |
| 134 | + |
| 135 | +Distributed under the MIT License. |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | +<p align="right">(<a href="#top">back to top</a>)</p> |
| 143 | + |
| 144 | + |
0 commit comments