#windows

bin+lib yai

Yet Another Injector for windows x32/x64 dlls

5 releases

0.2.0 May 23, 2023
0.1.3 Oct 16, 2022
0.1.2 Oct 16, 2022
0.1.1 Oct 16, 2022
0.1.0 Oct 16, 2022

#499 in #windows

MIT license

13KB
291 lines

Yai

Yet Another Injector for windows x64 dlls

Yet Another Injector for windows x64 dlls.

Usage: yai.exe --target <TARGET> --payload <PAYLOAD>

Options:
  -t, --target <TARGET>    Process name to inject into
  -p, --payload <PAYLOAD>  Absolute path to payload dll
  -h, --help               Print help information
  -V, --version            Print version information

Library

You can use yai as a library as well. Add yai to your Cargo.toml and call yai::inject_into:

yai::inject_into("payload.dll", 1234 /* process id */);

Dependencies

~19–29MB
~376K SLoC