{"id":13631367,"url":"https://github.com/hack0z/luject","last_synced_at":"2025-04-17T21:32:50.357Z","repository":{"id":41167934,"uuid":"258101883","full_name":"hack0z/luject","owner":"hack0z","description":"🍹A static injector of dynamic library for application (android, iphoneos, macOS, windows, linux)","archived":false,"fork":false,"pushed_at":"2025-02-07T02:58:51.000Z","size":60,"stargazers_count":330,"open_issues_count":9,"forks_count":52,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-02-07T03:27:21.678Z","etag":null,"topics":["android","frida","injection","ios","lua","luajit","reverse-engineering","xmake"],"latest_commit_sha":null,"homepage":"https://tboox.org","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hack0z.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-23T05:19:44.000Z","updated_at":"2025-02-07T02:58:54.000Z","dependencies_parsed_at":"2024-09-09T18:11:43.580Z","dependency_job_id":"cdd819b1-bcdd-4897-8d10-e2e755626cb5","html_url":"https://github.com/hack0z/luject","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hack0z%2Fluject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hack0z%2Fluject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hack0z%2Fluject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hack0z%2Fluject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hack0z","download_url":"https://codeload.github.com/hack0z/luject/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249381007,"owners_count":21261227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","frida","injection","ios","lua","luajit","reverse-engineering","xmake"],"created_at":"2024-08-01T22:02:22.692Z","updated_at":"2025-04-17T21:32:50.063Z","avatar_url":"https://github.com/hack0z.png","language":"Lua","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eluject\u003c/h1\u003e\n\n  \u003cdiv\u003e\n    \u003ca href=\"https://github.com/lanoox/luject/actions?query=workflow%3Abuild\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/workflow/status/lanoox/luject/build/master.svg?style=flat-square\" alt=\"github-ci\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/lanoox/luject/releases\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/release/lanoox/luject.svg?style=flat-square\" alt=\"Github All Releases\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/lanoox/luject/blob/master/LICENSE.md\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/lanoox/luject.svg?colorB=f48041\u0026style=flat-square\" alt=\"license\" /\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n  \u003cdiv\u003e\n    \u003ca href=\"https://www.reddit.com/r/tboox/\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/chat-on%20reddit-ff3f34.svg?style=flat-square\" alt=\"Reddit\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://gitter.im/tboox/tboox?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\"\u003e\n      \u003cimg src=\"https://img.shields.io/gitter/room/tboox/tboox.svg?style=flat-square\u0026colorB=96c312\" alt=\"Gitter\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://t.me/tbooxorg\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/chat-on%20telegram-blue.svg?style=flat-square\" alt=\"Telegram\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://jq.qq.com/?_wv=1027\u0026k=5hpwWFv\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/chat-on%20QQ-ff69b4.svg?style=flat-square\" alt=\"QQ\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://xmake.io/#/sponsor\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/donate-us-orange.svg?style=flat-square\" alt=\"Donate\" /\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\n  \u003cp\u003eA static injector of dynamic library for application\u003c/p\u003e\n\u003c/div\u003e\n\n## Introduction ([中文](/README_zh.md))\n\nluject is a static injector of dynamic library for application. It support the following applications:\n\n* Android APK\n* iPhoneOS IPA\n* Windows Program (does not supported yet)\n* Linux Program\n* MacOS Program\n\nIf you want to know more, please refer to:\n\n* [Documents](https://xmake.io/#/home)\n* [HomePage](https://xmake.io)\n* [Github](https://github.com/lanoox/luject)\n* [Gitee](https://gitee.com/lanoox/luject)\n\n## Prerequisites\n\nXMake installed on the system. Available [here](https://github.com/xmake-io/xmake).\n\n## Build\n\n```console\n$ xmake\n```\n\n## Installation\n\n```console\n$ xmake install\n```\n\n## Usage\n\n```console\n$ luject -i app.apk lib1.so lib2.so\n$ luject -i app.ipa lib1.dylib lib2.dylib\n$ luject -i liba.so lib1.so lib2.so\n$ luject -i app.exe lib1.dll lib2.dll\n$ luject -i a.dll lib1.dll lib2.dll\n$ luject -i liba.dylib lib1.dylib lib2.dyib\n$ luject -i bin lib1.so lib2.so\n```\n\n## Example \n\n### Inject libfrida-gadget.so to apk\n\nUse frida tools to dynamically analyze the application. For details, see: [frida](https://github.com/frida/frida)\n\n```console\n$ luject -i app.apk -p libtest /tmp/libfrida-gadget.so\n```\n\nlibtest is a so library that requires matching injection in the apk, and supports pattern matching to achieve batch injection, for example: `libtest_*.so`, \nif you do not specify the `-p` parameter, all so are defaulted for batch full injection.\n\nrefs: [How to use frida on a non-rooted device](https://lief.quarkslab.com/doc/latest/tutorials/09_frida_lief.html)\n\n## Development\n\n### Build and run\n\n```console\n$ xmake\n$ xmake run luject -i [input] liba.so libb.so\n```\n\n### Build and run tests\n\n```console\n$ xmake build test\n$ xmake run test\n```\n\n## Contacts\n\n* Email：[waruqi@gmail.com](mailto:waruqi@gmail.com)\n* Homepage：[tboox.org](https://tboox.org)\n* Community：[/r/tboox on reddit](https://www.reddit.com/r/tboox/)\n* ChatRoom：[Char on telegram](https://t.me/tbooxorg), [Chat on gitter](https://gitter.im/tboox/tboox?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n* QQ Group: 343118190(full), 662147501\n* Wechat Public: tboox-os\n\n## Backers\n\nThank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/xmake#backer)]\n\n\u003ca href=\"https://opencollective.com/xmake#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/backers.svg?width=890\"\u003e\u003c/a\u003e\n\n## Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/xmake#sponsor)]\n\n\u003ca href=\"https://opencollective.com/xmake/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/xmake/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/xmake/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\n\n","funding_links":["https://opencollective.com/xmake"],"categories":["LUA","Lua","Lua (24)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhack0z%2Fluject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhack0z%2Fluject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhack0z%2Fluject/lists"}