1、手機安裝frida
1.1、手機越獄之后在 Cydia --> 軟件源 --> 編輯 --> 添加源(build.frida.re)
1.2、進入 build.frida.re 源下載 Frida
2、Mac安裝frida
Mac配置
00 安裝 Python
Mac一般自帶Python2.7 , 命令 Python 執(zhí)行 如果已安裝會有信息
brew install python #安裝Python
查看 python3 的路徑
which python3

在 ~/.bash_profile 中添加
PATH="/usr/local/bin:${PATH}"
export PATH
alias python="/usr/local/bin/python3"
01 安裝wget
brew install wget #安裝wget
02 安裝pip
wget https://bootstrap.pypa.io/get-pip.py #按順序執(zhí)行
sudo python get-pip.py
執(zhí)行 wget https://bootstrap.pypa.io/get-pip.py 報錯:
<font color="red">ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.</font>
則使用以下命令
rm ~/get-pip.py # 清除緩存的 get-pip.py
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
sudo python get-pip.py
終端輸入
sudo pip install frida
如果報以下錯誤:
-Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
則使用以下命令安裝:
sudo pip install frida –upgrade –ignore-installed six
3、下載frida-ios-dump
安裝依賴
終端 cd 到 frida-ios-dump 路徑下,輸入以下命令
sudo pip install -r requirements.txt --upgrade
- 修改 dump.py 參數(shù)
按需修改 如把 Password 改成自己的
User = 'root'
Password = 'alpine'
Host = 'localhost'
Port = 2222
4、使用手機登錄ssh
通過USB使用ssh連接設備,將22映射到電腦上的2222端口
iproxy 2222 22
5、砸殼
查看手機上安裝的app和對應的bundle id
dump.py -l
終端另起一個窗口,執(zhí)行如下命令
dump.py [Display name] #或者
dump.py [Bundle identifier]
ipa存放的路徑是你運行命令的當前目錄