Error: Java API not available
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- android, javascript
- 领域
- mobile-dev
调研方向
该报告围绕 Java.perform()、Java.performNow() 以及 /frida/bridges/java.js 中的 _checkAvailable 路径展开;首先跟踪如何检测 Gadget 进程的 Java API 可用性。复现报告中的 Android 游戏设置及其列出的已加载模块,然后确定 API 不可用的原因,并记录已确认的加载条件或限制。
由索引模型根据 Issue 内容生成。
描述
I used objection to inject frida gadget to a game apk.
i could connect to it and execute some javascript scripts.
however when i try to use the javascript api i get the error that it is not available
I did enumerate the loaded modules and at first they were very little so i edited the smali to load the gadget around the end of the oncreate function of the main unity activity.
this did cause some more modules to appear like libunity and libmain (no il2cpp for some reason)
and still the java api is no where to be found
loaded modules: libdl.so ld-android.so libsigchain.so libunwindstack.so libc++.so libc.so libm.so libbase.so liblog.so liblzma.so libmain.so libunity.so libandroid.so libz.so libEGL.so libcutils.so libgraphicsenv.so libnativewindow.so libvndksupport.so [email protected] android.hardware.configstore-utils.so libhidlbase.so libnativebridge_lazy.so libnativeloader_lazy.so libutils.so libSurfaceFlingerProp.so libbinder.so libdl_android.so libui.so libbinder_ndk.so [email protected] [email protected] [email protected] libapexsupport.so android.hardware.graphics.common-V5-ndk.so android.hardware.graphics.allocator-V2-ndk.so [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] libgralloctypes.so libsync.so [email protected] android.hardware.common-V2-ndk.so
the error
[Remote::Gadget ]-> Java.performNow(); Error: Java API not available at _checkAvailable (/frida/bridges/java.js:8) at performNow (/frida/bridges/java.js:8) at <eval> (<input>:1) [Remote::Gadget ]-> Java.perform(); Error: Java API not available at _checkAvailable (/frida/bridges/java.js:8) at perform (/frida/bridges/java.js:8) at <eval> (<input>:1) [Remote::Gadget ]->
- 主要语言
- JavaScript
- 星标
- 414
- 派生
- 174
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
frida/frida-java-bridge 的其他 Issue
-
Types is missing `deoptimizeMethod`可能已有人在做 @Electric1447 于 181 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 65/100
frida/frida-java-bridge#386 ·
-
[v7.0.11+] Process crash on accessing object["<init>"] with JVMTI available可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
frida/frida-java-bridge#384 · 2 条评论 · 2 个 reaction ·
-
[Android 17] Early observations: JIT thread pool crash on attach and JNI transition frame aborts未关闭
难度 5/5 一周以上 新手友好度 12/100
frida/frida-java-bridge#411 ·
-
难度 3/5 1-2 天 新手友好度 42/100
frida/frida-java-bridge#409 ·
-
ensureClassInitialized() no longer initializes on ART since 7983e815 — hooks on uninitialized classes install successfully but never dispatch可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 52/100
frida/frida-java-bridge#408 ·
查看 frida/frida-java-bridge 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)可能已有人在做 @Jxxunnn 今天认领。 未关闭Browser Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 82/100
getsentry/sentry-javascript#25497 · 1 条评论 ·
维护者通常 1 天内回复
-
resource: destroying a resource calls AbortController.abort() without a reason, creating an AbortError with a stack trace each time可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: core
难度 2/5 1-3 小时 新手友好度 75/100
angular/angular#71422 · 1 条评论 ·
维护者通常 1 天内回复
-
bug status: needs triage
难度 2/5 1-3 小时 新手友好度 72/100
facebook/docusaurus#12739 · 1 条评论 ·
维护者通常 1 天内回复
-
factory-active task-identify-harness-labels-done task-identify-issue-type-done
难度 1/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复