Android逆向 Frida的安裝

1、問題1

Running setup.py install for frida ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for frida did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build/lib.macosx-10.9-universal2-3.10
      creating build/lib.macosx-10.9-universal2-3.10/frida
      copying frida/__init__.py -> build/lib.macosx-10.9-universal2-3.10/frida
      copying frida/core.py -> build/lib.macosx-10.9-universal2-3.10/frida
      running build_ext
      looking for prebuilt extension in home directory, i.e. /Users/mark.wu/frida-15.1.17-py3.10-macosx-10.9-x86_64.egg
      prebuilt extension not found in home directory, will try downloading it
      querying pypi for available prebuilds
      using default index URL: https://pypi.org/simple/
      downloading package list from https://pypi.org/simple/frida/
      unable to download it within 20 seconds; please download it manually to /Users/mark.wu/frida-15.1.17-py3.10-macosx-10.9-x86_64.egg
      error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

有一個(gè)SSL 錯(cuò)誤這個(gè)是證書問題

  sudo /Applications/Python\ 3.9/Install\ Certificates.command

以上填你對用的python 版本

2、
去官網(wǎng)下載庫,安裝
https://pypi.org/simple/frida/

easy_install frida-15.1.16-py3.10-win32.egg

3、版本問題,比如我的環(huán)境是python3.9但是frida只有3.8和3.10版本時(shí),就下載3.10的,然后:

easy_install frida-15.1.16-py3.10-win32.egg

4、報(bào)No module named easy_install時(shí):

①查看有沒有安裝setuptools;

②setuptools版本>51.3.3時(shí),就沒有帶easy_install,按如下方式解決

pip uninstall setuptools
pip install -v setuptools==51.3.3

5、安裝之后frida --version使用不了的
刷新一下環(huán)境變量 或者重啟一下電腦
source ~/.bash_profile 回車

6、Failed to load script: timeout was reached
解決方法:進(jìn)入adb shell ,關(guān)閉selinux

setenforce 0

確認(rèn)是否設(shè)置成功

getenforce

**關(guān)閉selinux之后再次運(yùn)行,即可成功執(zhí)行 **

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容