Comments (2)
url.js的**是通过hook一些系统的类比如android.net.Uri、java.net.URL以及com.android.okhttp.Request$Builder对象来帮助你定位app代码逻辑,进一步的信息需要你自己去看apk源码来hook应用自定义的类。同学,你**就错了。没有通用的脚本!因为每个app在发版的时候都会混淆代码,通过hook脚本不可能对每个应用进行通用。比如com.android.okhttp.Request这个类在a应用叫x.za.d,在b应用叫q.x.ad。你让我怎么写脚本呢?所以还是好好了解技术原理吧,工具只是工具。看你怎么用,如果你原理不懂好工具在你面前你可能不能发挥它全部的价值。
回到你这个问题上,怎么获取 header或者data cookies?
1、我会尝试去用charles之类抓包工具,直接抓包,简单快捷。
2、如果不能抓包,我会去看看./hooking url.js带出来的堆栈信息去jadx看apk的源代码。看看header的封装类然后hook之。而hooker的核心功能就是生成hook脚本让你不用为写脚本而浪费时间了。
from hooker.
感谢老铁的耐心解答 抓包没找到有些隐藏的 我好好看下源码分析下
from hooker.
Related Issues (20)
- 双进程反调试案例 HOT 9
- frida.ProcessNotFoundError: unable to find process with name xxxx HOT 1
- Error: java.io.FileNotFoundException: /sdcard/Download/client_keystore__2021_11_09_xx_xx_xx_53.p12 (Permission denied) HOT 1
- frida.InvalidOperationError: script has been destroyed HOT 7
- 运行 hooker 设备就会重启 HOT 2
- 请问作者用的什么Android模拟器? HOT 1
- 无法使用identifier进行attach HOT 2
- ./hooking activity_events.js 出错 HOT 1
- gz.radar.Android.getTopActivity 这个函数在Tiktok返回不正确的结果 HOT 1
- ModuleNotFoundError: No module named 'frida' HOT 1
- Unable to attach using identifier HOT 3
- 小红书最新版运行 ./hooking url.js 过两秒就 Process terminated
- 防止被检测用什么好
- Didn't find class "[java.security.cert.X509Certificate" HOT 1
- 如果是进程名是中文,你这工具就用不了了
- attach后没有自动创建文件夹
- attack无法正常运行 HOT 2
- 请问如何将url.js注入到apk里并可实现注入修改的功能 HOT 2
- 执行 deploy.sh 设备重启 HOT 1
- 有交流群吗 HOT 1
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 hooker.