Giter Site home page Giter Site logo

rocker9527 / luject Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hack0z/luject

0.0 1.0 0.0 78 KB

🍹A static injector of dynamic library for application (android, iphoneos, macOS, windows, linux)

Home Page: https://tboox.org

License: Apache License 2.0

Lua 62.71% C++ 30.62% C 6.67%

luject's Introduction

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]

luject's People

Contributors

waruqi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.