- 手機(jī)安裝frida
- Mac安裝frida
- 下載frida-ios-dump
- 使用手機(jī)登錄ssh
- 砸殼
1. 手機(jī)安裝frida
1.1 手機(jī)越獄之后在 Cydia --> 軟件源 --> 編輯 --> 添加源(build.frida.re)
1.2 進(jìn)入 build.frida.re 源下載 Frida
2. Mac安裝frida
終端輸入
sudo pip install frida
3. 下載frida-ios-dump 并配置frida
終端cd到 frida-ios-dump 路徑下
輸入
sudo pip install -r requirements.txt --ignore-installed six
配置過(guò)程中遇到兩個(gè)問(wèn)題:
frida-tools 1.2.2 has requirement prompt-toolkit<2.0.0,>=0.57, but you'll have prompt-toolkit 2.0.7 which is incompatible.
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
4. 登錄ssh連接手機(jī)
關(guān)于手機(jī)登錄OpenSSH(Cydia搜索安裝) 兩種方式詳細(xì)敘述
USB: http://www.reibang.com/p/bb5eab125cfe (快速)
WIFI: http://www.reibang.com/p/8b290bed9f64
注意: 登錄ssh時(shí)映射的端口號(hào)必須與dump.py腳本中端口號(hào)一致
5. 砸殼
登錄SSH后重開一個(gè)頁(yè)面 cd 到 firda-ios-dump路徑下
dump.py -l
查看app 名稱及bundleID
dump.py 全軍出擊
砸殼可使用名稱, 若名稱不可以就使用bundleID即可
砸殼成功后, ipa包生成在 frida-ios-dump 文件夾中
如有疑惑, 請(qǐng)?jiān)谙旅媪粞? 我們一起探討