1. 通過Cydia安裝“New Curses”,“readline”和“adv-cmds”
2. 通過SSH /終端:wget http://apt.saurik.com/debs/cycript_0.9.594_iphoneos-arm.deb
3. wget http://www.tateu.net/repo/files/net.tateu.cycriptlistenertweak_1.0.0_iphoneos-arm.deb
4. wget http://www.tateu.net/repo/files/net.tateu.cyrun_1.0.5_iphoneos-arm.deb
5. dpkg -i cycript_0.9.594_iphoneos-arm.deb
6. dpkg -i net.tateu.cycriptlistenertweak_1.0.0_iphoneos-arm.deb net.tateu.cyrun_1.0.5_iphoneos-arm.deb
7. 使用指令 `cyrun -n App名稱 -e` 或 `cyrun -n bundleID -e`
例如:`cyrun -n test -e` 或 `cyrun -b com.test.test -e`
8. 將指令的 -e 改爲 -d ,從App中移除(卸載)Cycript,App將被終止並自動重啓。
例如:`cyrun -n test -d` 或 `cyrun -b com.test.test -d`
-n表示進程名字,-e表示使cycript能注入到進程中
將cycript從之前的進程中抽離出來,才能將cycript注入另一個進程。如果未將cycript從上一個進程中抽離出來的話,cycript仍然活躍在上一個進程中。
如果 wget 指令無效可以複製鏈接下載deb包,然後使用 scp 指令說iFunBox工具導入deb安裝包到手機,然後執行5-6步驟。具體使用請參考[cyrun](https://github.com/tateu/cyrun)