zoukankan      html  css  js  c++  java
  • frida hook基本操作命令

    1.安装frida-server

    frida-server-14.1.3-android-x86

    真机安装

    C:Usersgqv20>adb push C:Usersgqv20Desktopfrida-server-14.1.3-android-arm /data/local/tmp/
    2135 KB/s (17678608 bytes in 8.083s)

    指定雷电模拟器安装

    adb -s emulator-5554 push C:Usersgqv20Desktopfrida-server-14.1.3-android-x86 /data/local/tmp

    2.frida—server上传到手机

    frida-server-12.11.6-android-arm

    adb push frida-server /data/local/ tmp /

    3.操作步骤如下:

    C:Usersgqv20>adb devices
    C:Usersgqv20>adb shell
    shell@shamu:/ $ su root
    su
    root@shamu:/ # cd /data/local/tmp/
    cd /data/local/tmp/

    4.添加权限

    root@shamu:/data/local/tmp # chmod 777 /data/local/tmp/frida-server-14.1.3-android-arm

    hmod 777 /data/local/tmp/frida-server-14.1.3-android-arm

    root@aosp:/data/local/tmp # chmod 777 /data/local/tmp/frida-serverx86
    hmod 777 /data/local/tmp/frida-server-14.1.3-android-x86

    root@shamu:/data/local/tmp # ls
    ls
    busybox
    frida-server-14.1.3-android-arm
    frida-server-14.1.3-android-arm
    frida-server-14.1.3-android-x86
    krperm.txt
    minicap
    minicap.so
    re.frida.server
    root@shamu:/data/local/tmp # ./frida-server-14.1.3-android-arm
    ./frida-server-14.1.3-android-arm

    root@shamu:/data/local/tmp # ./frida-serverx86
    ./frida-server-14.1.3-android-x86

    5.端口转发

    adb forward tcp:27042 tcp:27042

    6.查看apk包名

    adb shell dumpsys activity top

  • 相关阅读:
    iOS截取长图,自定义截取size
    工作
    UITableView适配iOS11
    利用脚本实现build号自动加一
    iOS原生与JS互调
    CSS高级技巧
    伪元素选择器
    CSS设置过渡
    CSS文本属性 二
    css设置圆角矩形
  • 原文地址:https://www.cnblogs.com/gqv2009/p/14453581.html
Copyright © 2011-2022 走看看