frida-iOS-dump 一鍵砸殼

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
POPO20220124-144356.jpg

在 ~/.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存放的路徑是你運行命令的當前目錄

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

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

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