Function previously hooked then no longer intercepted
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 32/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- android, javascript
调研方向
从已报告的 okhttp3.OkHttpClient.newCall JavaScript hook 开始,比较应用使用 -f package 启动与在启动后附加时的行为。调查启动时机、线程、重载解析或库的最小化是否解释了为什么后续请求会被拦截,而启动请求会被遗漏;完成标准是确定原因,并记录一种可复现的拦截方法。
由索引模型根据 Issue 内容生成。
描述
Hi everyone,
I'm using Frida since 1 week to hook function at runtime in an android app. In my case I need to intercept function from okhttp3 lib to analyze network request. Everything was working well with the following code :
var OkHttpClient = Java.use('okhttp3.OkHttpClient')
OkHttpClient.newCall.overload("okhttp3.Request").implementation = function (request) {
console.log("Catching request...")
...
return this.newCall(request);
}
So I was able to analyze request object (url, method...). But without changing anything (maybe reload frida-server) the "newCall" method is no longer intercepted. Note that my script is correctly injected and run with some other functions getting hooked.
Could it be something related with thread ? Or some sort of obfuscation (the app has indeed some sort of lib minification) ?
Also the requests that I want to catch are at app's startup, so I guess it could be the problem. (I tried launch app with -f package without resolution...). I'm able to catch some request that are after app startup.
- 主要语言
- JavaScript
- 星标
- 415
- 派生
- 174
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
frida/frida-java-bridge 的其他 Issue
-
Types is missing `deoptimizeMethod`可能已有人在做 @Electric1447 于 196 天前认领。 未关闭
难度 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 · 1 条评论 ·
-
难度 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
-
good first issue
难度 2/5 3-5 天 新手友好度 62/100
paipai1999/POS-system#3 ·
-
good first issue
难度 2/5 1-3 小时 新手友好度 85/100
r-afael/better-yt-recommendations#36 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 66/100
microsoft/playwright#43875 · 1 条评论 ·
维护者通常 1 天内回复
-
cli good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Run the dependency drift check可能已有人在做 @spaceninja 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
cloudfour/stylelint-config-cloudfour#683 ·
维护者通常 1 天内回复