A static injector of dynamic library for application
source link: https://github.com/lanoox/luject
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
- 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
- Email: [email protected]
- Homepage: tboox.org
- Community: /r/tboox on reddit
- ChatRoom: Char on telegram , Chat on gitter
- QQ Group: 343118190(full), 662147501
- Wechat Public: tboox-os
Backers
Thank you to all our backers! :pray: [ 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 ]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK