Comments (6)
这个功能是实验性的,所以可能无法在所有应用中工作,一些应用有反 Hook 功能,可能无法注入 Instrument,所以这是导致可能会失败的原因,如果你想获取一个存在的 context
你可以使用 systemContext
并直接开始 Hook,请记住 onAppLifecycle
并不是每次都能注入成功。
另外请把你的文字排版调整一下,提供最小复现 demo 链接和被 Hook 的宿主。
from yukihookapi.
这个功能是实验性的,所以可能无法在所有应用程序中工作,一些应用程序有反Hook功能,可能无法注入仪器,所以这导致可能会失败的原因,如果你想获取一个存在的你可以使用
context
并systemContext
直接开始 Hook,请记住onAppLifecycle
不要每次注入成功。 另外请把你的文字排版调整一下,提供最小复现演示链接并被 Hook 的动作。
文本排版调整好了,复现代码和hook的方法,等到明天发zip给你
from yukihookapi.
好的
from yukihookapi.
好的
但有一些疑惑点,根据hook的反应,registerModuleAppActivities是已经将我所写的activity注入进去了的,Resources也是注入了的,为什么onCreate函数并未初始化,hook的反应也是正常跳转接替的宿主app的活动,模块的没有将其覆盖。
yuki框架的简易方法,如....toclass()....hook().after{},这样在部分反hook的app上能找到挂载点,但是无法注入hook的after之类的代码。
但一旦使用YukiXposedEvent.events 的原生onHandleLoadPackage,是能够正常使用的。
请问像这种情况,一般是什么问题导致的
from yukihookapi.
经过几天的学习和实战,大部分问题已经绕过解决了,唯有挂载activity失败,可能是也是经验问题,因此关闭
from yukihookapi.
好吧,有问题随时联系
from yukihookapi.
Related Issues (20)
- [BUG] YukiHookDataChannel. Supporting Android 14 HOT 3
- 是否会支持增加Modern Xposed API HOT 1
- hello
- [BUG] HookParam call timing problem HOT 20
- New Hook Entry Class
- New Xposed Module Config Plan
- Need help, prefs doesn`t work HOT 10
- YukiHookPrefsBridge read value not working in the release mode HOT 4
- [BUG] 仅在Android 9 版本 registerModuleAppActivities 错误 HOT 9
- https://jihulab.com/xihan123/QDReadHook.git HOT 3
- Migrating to 1.2.0 HOT 1
- 增加模块的Context 获取 和 模块classload 合并入宿主 HOT 1
- cannot be cast to 类型转换异常 HOT 1
- how to change hook behavior without relaunch? HOT 1
- Classifier 'enum class HookEntryType : Enum<HookEntryType>' does not have a companion object HOT 7
- 模块无法收到从宿主传来的消息 HOT 11
- 两个小建议 HOT 1
- 构建时报错找不到ksp HOT 1
- can i remove androidx? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yukihookapi.