/Tauri-DLL-Injector

A DLL injector built using Tauri, with a backend written in Rust and C.

Primary LanguageCMIT LicenseMIT

Tauri DLL Injector

A DLL injector built using Tauri, with a backend written in Rust and C.

Getting Started

Prerequisites

  • Rust
  • GCC for compiling the C backend
  • Node.js and npm (or any other package manager)

Setup

  1. Clone the repository:
git clone https://github.com/dan0xe/tauri-dll-injector.git
cd tauri-dll-injector
  • src-tauri -> rust tauri backend
  • src-injector -> c injector backend
  • src -> typescript / svelte frontend
  1. Install frontend dependencies:
npm install
  1. Build the C backend:

You can either use the provided batch build script or copy and paste this:

gcc -shared -o inject.dll main.c -Wl,--output-def,exports.def,--out-implib,inject.lib

then copy and paste this lib and the dll file into src-tauri

  1. Launch the Tauri application:
npm run tauri dev

Usage

  1. Launch the process you want to inject to
  2. Type the process id into the text field
  3. Click on "Select DLL" and select the DLL you want to inject

Contributing

Contributions are welcome!

License

This project is licensed under the MIT License

Acknowledgments

  • Tauri For providing a lightweight framework to build cross-platform applications.
  • Tsoding For coding inspiration.