Frida备忘

Standard

问题处理

  • Failed to enumerate processes: unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use```
    一般是电脑端的frida版本和移动端运行的frida-server版本不一致导致,统一即可;
    
  • frida-trace -U -i open com.android.chrome
    Failed to attach: unable to connect to remote frida-server: Unable to connect (connection refused)

    一般是直接用-U制定usb设备是,电脑同时连接了多个usb设备,可以通过adb forward tcp:27042 tcp:27042 然后通过-R使用

  • frida-trace -R -i open com.android.chrome
    Failed to attach: unexpected error while attaching to process with pid 5805

    $> getenforce
    Permissive

    #>echo 0 > /sys/fs/selinux/enforce
    #>setenforce 0
hammerhead:/ # getenforce
Enforcing
hammerhead:/ # echo 0 > /sys/fs/selinux/enforce
hammerhead:/ # getenforce
Permissive
  • 直接启动

    adb shell su -c '/data/local/tmp/frida-server-11.0.3-android-arm'

发表评论

电子邮件地址不会被公开。 必填项已用*标注