A Lua-powered Xposed scripting framework
简体中文 | English
LuaHook is an actively developed framework that enables developers to write powerful Xposed modules using the lightweight and flexible Lua language.
It simplifies Android hooking by removing the need for full Java/Kotlin build cycles, allowing faster development and iteration.
Lua Script Support
Write hook logic using concise and expressive Lua syntax.Seamless Xposed Integration
Deep integration with the Xposed framework for robust hooking capabilities.Dynamic Script Loading
Load and apply scripts without recompiling or reinstalling the APK.Rapid Prototyping
Iterate faster compared to traditional Xposed module development.More Features Coming Soon...
This project is currently in an early development stage. Bugs, incomplete features, and breaking changes may occur.
- Telegram: https://t.me/LuaXposed
- QQ: https://qm.qq.com/q/Qt3yKDzCeG
You are welcome to submit issues, suggestions, or bug reports via GitHub Issues.
- DexKit
- XpHelper
- NeLuaJ
- sora-editor
- sora-editor-with-androlua
imports"top.sacz.xphelper.dexkit.FieldFinder"imports"java.lang.reflect.Modifier"imports"top.sacz.xphelper.dexkit.bean.MethodInfo"hook {
class="android.app.Application",
method="attach",
params={"android.content.Context"},
after=function(it)
XpHelper.initContext(it.thisObject)
XpHelper.injectResourcesToContext(it.thisObject)
localloader=invoke(it.thisObject, "getClassLoader")
localdexFinder=DexFinder.INSTANCEdexFinder.create(lpparam.appInfo.sourceDir)
localmethod=MethodInfo() {
UsedString= { "MicroMsg.QRCodeHandler", "qbar_string_scan_source" },
ParamCount=2,
}.generate().firstOrNull()
hook {
method=method,
before=function(it)
it.args[1].putString("result_code_name", "WX_CODE")
end
}
end
}Scan the QR code below after enabling LuaHook in WeChat:
TON
UQCT4SxRvop52iLADb8_TcuoGFlr8UqC4QNTlIraRcljm-Us
USDT (TRC20)
TLhumaxCuCJYddWwfAyS9ZyVWeFbwUfydm
TRX (TRC20)
TGGvqp4zx9VNT6HaijAQxQT8uFibs1etxt
If you find this project useful, consider giving it a ⭐ on GitHub.

