brew install ca-certificates
brew install openssl@1.1
brew install ldid
brew install usbmuxd
brew install libimobiledevice
越獄工具(對iOS設備進行越獄)
使用checkra1n越獄
https://checkra.in/releases/
https://www.jianshu.com/p/8beb21bcdae7
使用unc0ver越獄
https://unc0ver.dev/
https://www.jianshu.com/p/5f2d33ba2fb5
主流的越獄工具一般是半完美越獄,iOS設備重啟后Cydia會閃退打不開,需要重新操作越獄流程
https://palera.in/
https://github.com/palera1n/palera1
https://github.com/palera1n/palera1n/releases
https://theos.dev/docs/installation-ios
https://github.com/AloneMonkey/MonkeyDev/wiki/%E5%AE%89%E8%A3%85
iOS越獄后的ssh連接手機
ssh root@127.0.0.1
#iproxy-通過USB使用SSH連接iOS設備
iproxy 9999 22 #端口轉發
ssh -p 9999 root@127.0.0.1
frida安裝
https://build.frida.re
#在cydia中添加frida源
#cydia中搜索frida,根據iOS設備版本安裝對應的frida服務端
#Windows10電腦安裝frida(特別注意frida版本要與手機中的frida版本保持一致)
https://github.com/frida/frida
https://github.com/frida/frida/releases
Filza File Manager安裝,越獄設備的文件管理器Cydia源
http://tigisoftware.com/cydia/
#TIGI Software ---》 全部工具 ---》 Filza File Manager 64-bit
frida-ios-dump砸殼工具
git clone https://github.com/AloneMonkey/frida-ios-dump.git
cd frida-ios-dump
python -m pip install -r requirements.txt --upgrade
dump.py -l
frida-ps -U
python dump.py -H 127.0.0.1 -p 9999 -u root -P alpine 《app_name》
查看iOS手機是否越獄
whoami
iOS App應用本地存儲位置
/private/var/containers/Bundle/Application
越獄插件路徑
/Applications/
正常安裝路徑
/private/var/mobile/Containers/Data/Application/
安裝iOS安裝包
ideviceinstaller -i ***..ipa
iOS查看系統日志
idevicesyslog
iOS查看當前已連接的設備的UUID
idevice_id -l
iOS截圖
idevicescreenshot
iOS查看設備信息
ideviceinfo
ideviceinfo -u [udid] -k DeviceName #指定設備,獲取設備名稱:iPhone6s
idevicename -u [udid] #指定設備,獲取設備名稱:iPhone6s
ideviceinfo -u [udid] -k ProductVersion #指定設備,獲取設備版本:10.3.1
ideviceinfo -u [udid] -k ProductType #指定設備,獲取設備類型:iPhone8,1
ideviceinfo -u [udid] -k ProductName #指定設備,獲取設備系統名稱:iPhone OS
iOS獲取app列表和信息
ideviceinstaller -l
iOS獲取設備時間
iOS重啟設備
idevicediagnostics restart
iOS關機
idevicediagnostics shutdown
iOS休眠
idevicediagnostics sleep
iOS安裝SSL Kill Switch 2以突破或繞過SSL Pinning、Certificate Pinning,解決Charles、Fiddler等網絡代理工具開啟SSL Proxying后HTTPS抓包,用于禁用iOS上的SSL/TLS的證書校驗機制,以便能抓取到明文的數據包
https://github.com/nabla-c0d3/ssl-kill-switch2
https://github.com/nabla-c0d3/ssl-kill-switch2/releases
scp -P 9999 com.nablac0d3.sslkillswitch2_0.14.deb root@127.0.0.1:/tmp
dpkg -i com.nablac0d3.sslkillswitch2_0.14.deb
killall -HUP SpringBoard
#打開iOS設置,下滑找到SSL Kill Switch 2,確認Disable Certificate Validation已開啟
FLEXLoader動態加載FLEX的越獄插件
https://github.com/FLEXTool/FLEX
https://github.com/FLEXTool/FLEX/releases
https://cloud.tencent.com/developer/article/1873827
#添加軟件源
apt.jituvip.com
#極兔軟件源 ---》 佐羅Zorro ---》 安裝6.6.1
iOS平臺上輕松跟蹤類、函數和修改方法的返回值
https://github.com/noobpk/frida-ios-hook
https://github.com/noobpk/frida-ios-hook/releases
iOS安全測試框架
https://github.com/WithSecureLabs/needle
https://github.com/WithSecureLabs/needle/releases
Frida Scripts
https://github.com/interference-security/frida-scripts
https://github.com/interference-security/frida-scripts/tree/master/iOS
AppMon是監測和修改本地MacOS、iOS、Android系統API的自動化框架
git clone https://github.com/dpnishant/appmon
cd appmon && git checkout LISTEN_MODE
python appmon.py -mode listen
curl “http://127.0.0.1:5000/connect/?a=Gadget&spawn=0&p=iossim&s=scripts/iOS&ls=0&report=test”
編輯:黃飛
評論