手機系統iOS12.0,經過unc0ver越獄,cycript
的中止維護,沒法正常進行cycript
調試。 慶幸的是cyrun支持了經過unc0ver
越獄的iOS12系統。ios
Cydia
**中搜索,並安裝 New Curses
, readline
和 adv-cmds
wget http://apt.saurik.com/debs/cycript_0.9.594_iphoneos-arm.deb
複製代碼
wget http://www.tateu.net/repo/files/net.tateu.cycriptlistenertweak_1.0.0_iphoneos-arm.deb
複製代碼
wget http://www.tateu.net/repo/files/net.tateu.cyrun_1.0.5_iphoneos-arm.deb
複製代碼
此處下載有三種方式:git
- 經過終端
wget
- 下載安裝包到
mac
,而後scp
到手機- 藉助
ifunbox
導入安裝包
dpkg -i cycript_0.9.594_iphoneos-arm.deb
複製代碼
dpkg -i net.tateu.cycriptlistenertweak_1.0.0_iphoneos-arm.deb net.tateu.cyrun_1.0.5_iphoneos-arm.deb
複製代碼
-n
表明AppName
、ExecutableName
、IconName
、LocalizedName
。-b
表明bundleIdentifier
-e
加載-d
卸載-f
關閉詢問是否繼續功能-c
加載腳本文件
cyrun -n SpringBoard -e cyrun -b com.apple.springboard -e 複製代碼
cyrun -n SpringBoard -d cyrun -b com.apple.springboard -d 複製代碼
cycript
時自動殺掉App並卸載cyrun -x backboardd -e -d 複製代碼
cyrun -b com.apple.springboard -e -d -f -c /path/to/script.cy 複製代碼
來源:github
akira:/var root# cyrun -n SpringBoard -e applicationName: SpringBoard is running (7165) executableName: SpringBoard bundleIdentifier: com.apple.springboard Cycript is inactive: Device is passcode locked Tweak Mode Do you want to continue enabling Cycript (y or n)? y Waiting for Process to close... Waiting for SpringBoard to launch... Waiting for Cycript to become active... Success, you may now run cycript -r 127.0.0.1:8556 cy# [NSBundle mainBundle].bundleIdentifier @"com.apple.springboard" cy# exit(0) *** _assert(CYRecvAll(socket_, &size, sizeof(size))):../Console.cpp(328):Run akira:/var root# cyrun -b com.apple.springboard -d applicationName: SpringBoard is running (7271) executableName: SpringBoard bundleIdentifier: com.apple.springboard Cycript is active: com.apple.springboard Device is not passcode locked Tweak Mode Do you want to continue disabling Cycript (y or n)? y Waiting for Process to close... Waiting for Cycript to be inactive... Successfully disabled SpringBoard was killed akira:/var root# 複製代碼