Giter Club home page Giter Club logo

Comments (2)

CreditTone avatar CreditTone commented on August 19, 2024

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.

rookiexjl avatar rookiexjl commented on August 19, 2024

感谢老铁的耐心解答 抓包没找到有些隐藏的 我好好看下源码分析下

from hooker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.