zoukankan      html  css  js  c++  java
  • objection 使用方法

    启动:

    objection -g com.android.settings explore

    //查看环境
    env

    //列举so文件
    memory list modules
    //列举so文件导出方法
    memory list exports libA3AEECD8.so
    //将结果写入文件中
    memory list exports libA3AEECD8.so --json /root/test.json
    //查找可以hook的类
    android hooking list classes
    //查找带关键词的类
    android hooking search classes display
    //查看对应类有哪些方法
    android hooking list class_methods com.android.settings.DisplaySettings
    //生产hook类的代码
    android hooking generate simple
    d.d.a.g.c
    //hook 类的所以方法
    android hooking watch class d.d.a.g.c
    android hooking watch class_method com.xxx.xxx.setUrl --dump-args --dump-return
    // 帮助类
    help
    android hooking watch class
    //禁用sslpinning
    android sslpinning disable
    //搜索类的实列
    android heap search instances com.example.httptest.MainActivity
    android heap execute 0x1fc6 getMethod
    //搜索activties
    android hooking list activities
    android intent launch_activity com.example.httptest.MainActivity
    //搜索类中的方法
    android hooking search classes com.example.httptest.MainActivity
    android hooking list class_methods com.example.httptest.MainActivity$1
    android hooking list class_methods com.example.httptest.MainActivity$ChangeOrientation

    //内存搜索/修改
    memory search "64 65 78 0a 30 33 35 00"
    memory search "99999999999" --string
    memory write 0x130b4060 "99999999999" --string

    //输出内容保存到文件
    objection -g cn.xxx.xxxx  run android hooking list classes > abc.log

    //查看/结束任务
    jobs list
    jobs kill 1qdu22kih04



     
  • 相关阅读:
    杂谈
    MD语法
    1034 有理数四则运算(20 分)
    1033 旧键盘打字(20 分)
    1032 挖掘机技术哪家强(20 分)
    1031 查验身份证(15 分)
    1030 完美数列(25 分)
    1029 旧键盘(20 分)
    1028 人口普查(20 分)
    1027 打印沙漏(20 分)
  • 原文地址:https://www.cnblogs.com/Snark/p/12347364.html
Copyright © 2011-2022 走看看