6 Star 53 Fork 19

tboox / luject

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 5.53 KB
一键复制 编辑 原始数据 按行查看 历史
ruki 提交于 2020-05-29 00:48 . update readme

luject

A static injector of dynamic library for application

Introduction (中文)

luject is a static injector of dynamic library for application. It support the following applications:

  • Android APK
  • iPhoneOS IPA
  • Windows Program (does not supported yet)
  • Linux Program
  • MacOS Program

If you want to know more, please refer to:

Prerequisites

XMake installed on the system. Available here.

Build

$ xmake

Installation

$ xmake install

Usage

$ luject -i app.apk lib1.so lib2.so
$ luject -i app.ipa lib1.dylib lib2.dylib
$ luject -i liba.so lib1.so lib2.so
$ luject -i app.exe lib1.dll lib2.dll
$ luject -i a.dll lib1.dll lib2.dll
$ luject -i liba.dylib lib1.dylib lib2.dyib
$ luject -i bin lib1.so lib2.so

Example

Inject libfrida-gadget.so to apk

Use frida tools to dynamically analyze the application. For details, see: frida

$ luject -i app.apk -p libtest /tmp/libfrida-gadget.so

libtest is a so library that requires matching injection in the apk, and supports pattern matching to achieve batch injection, for example: libtest_*.so, if you do not specify the -p parameter, all so are defaulted for batch full injection.

refs: How to use frida on a non-rooted device

Development

Build and run

$ xmake
$ xmake run luject -i [input] liba.so libb.so

Build and run tests

$ xmake build test
$ xmake run test

Contacts

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Lua
1
https://gitee.com/tboox/luject.git
git@gitee.com:tboox/luject.git
tboox
luject
luject
master

搜索帮助