Cycript支持中文
先映射端口
$ sh usbConnect.sh
Forwarding local port 10010 to remote port 22
Command+t新开终端页面,将.inputrc隐藏文件copy到手机的~目录
cd 到隐藏文件.inputrc的文件夹
$ scp -P 10010 .inputrc root@localhost:~
command+shift+.查看隐藏文件
在手机的~查看
$ sh usbLocalhost.sh
$ cd ~
$ ls -a
Cycript 注入进程
$ ps -A | grep appName //抓取手机上运行的APP进程
$ cycript -p APP进程ID(或者名称)
Cycript 导入.cy 文件
Theos
Theos
是一个越狱开发工具包,由DHowett
开发的,主要目的是简化越狱程序的开发流程。
官方安装步骤
$ brew install ldid xz
$ cd /opt/theos/
$ sudo git clone --recursive https://github.com/theos/theos.git
//查看
$ cd bin
$ ls //可以看到nic.pl
配置环境变量
$ vim ~/.bash_profile
添加如下环境变量
export THEOS=/opt/theos
export PATH=$THEOS/bin/
在终端~下验证
$ nic.pl
NIC 2.0 - New Instance Creator
------------------------------
[1.] iphone/activator_event
[2.] iphone/application_modern
[3.] iphone/application_swift
[4.] iphone/flipswitch_switch
[5.] iphone/framework
[6.] iphone/library
[7.] iphone/preference_bundle_modern
[8.] iphone/tool
[9.] iphone/tool_swift
[10.] iphone/tweak
[11.] iPhone/xpc_service
关于Theos
的使用,lz
碰到了一个错误,暂时没有找到解决办法就不贴了,有知道的希望能告诉一下,非常感谢
$ make install
==> Installing…
Selecting previously unselected package com.overseasgm.test.
(Reading database ... 2890 files and directories currently installed.)
Preparing to unpack /tmp/_theos_install.deb ...
Unpacking com.overseasgm.test (0.0.1-1+debug) ...
dpkg: dependency problems prevent configuration of com.overseasgm.test:
com.overseasgm.test depends on mobilesubstrate; however:
Package mobilesubstrate is not configured yet.
dpkg: error processing package com.overseasgm.test (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
com.overseasgm.test
make: *** [internal-install] Error 1
网友评论