一条命令完成砸壳


#11

$ ./dump.py com.youku.YouKu
Start the target app com.youku.YouKu
the connection is closed

执行了,提示“the connection is closed”是什么意思?


#12

先打开应用再运行脚本试试


#13
mac$ ./dump.py QQ
Waiting for USB device...
Start the target app QQ
Dumping QQ to /var/folders/mq/5dz8kdsn699_gx7bn8h0z0hm0000gn/T
start dump /var/containers/Bundle/Application/3708448B-97B0-467F9B273C8C1B242D9F/IPadQQ.app/IPadQQ
0.00B [00:00, ?B/s]chmod:/var/folders/mq/5dz8kdsn699_gx7bn8h0z0hm0000gn/T/Payload/IPadQQ.fid: No such file or directory
Command '('chmod', '655', u'/var/folders/mq/5dz8kdsn699_gx7bn8h0z0hm0000gn/T/Payload/IPadQQ.fid')' returned non-zero exit status 1

0.00B [00:00, ?B/s]chmod: /var/folders/mq/5dz8kdsn699_gx7bn8h0z0hm0000gn/T/Payload/IPadQQ.app: No such file or directory
Command '('chmod', '755', u'/var/folders/mq/5dz8kdsn699_gx7bn8h0z0hm0000gn/T/Payload/IPadQQ.app')' returned non-zero exit status 1

0.00B [00:00, ?B/s]Generating "QQ.ipa"
[Errno 2] No such file or directory: u'/var/folders/mq/5dz8kdsn699_gx7bn8h0z0hm0000gn/T/Payload/IPadQQ.fid'

这种报错咋解决啊,看起来是什么文件权限问题


#14

苹果 电脑没翻墙的话使用下面的命令安装frida

python2 :
sudo pip install frida --ignore-installed six -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

python3:
sudo pip3 install frida --ignore-installed six -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

Frida-ios-dump一键砸壳菜鸡版
#15

请问

执行python脚本的时候提示:

  File "./dump.py", line 21, in <module>
    from scp import SCPClient
ImportError: No module named scp

pip install SCPClient 也没用,到底什么原因。


#17

#18

感谢,我试下


#19

Start the target app 美人相机
Dumping 美人相机 to /var/folders/r0/z5kqdrms4j11cd2tslbl40x80000gn/T
start dump /var/containers/Bundle/Application/70636D95-D649-4C98-A2FB-F417434232F5/BeautyCamera.app/BeautyCamera
0.00B [00:00, ?B/s]chmod: /var/folders/r0/z5kqdrms4j11cd2tslbl40x80000gn/T/Payload/BeautyCamera.fid: No such file or directory
Command ‘(‘chmod’, ‘655’, u’/var/folders/r0/z5kqdrms4j11cd2tslbl40x80000gn/T/Payload/BeautyCamera.fid’)’ returned non-zero exit status 1

0.00B [00:00, ?B/s]chmod: /var/folders/r0/z5kqdrms4j11cd2tslbl40x80000gn/T/Payload/BeautyCamera.app: No such file or directory
Command ‘(‘chmod’, ‘755’, u’/var/folders/r0/z5kqdrms4j11cd2tslbl40x80000gn/T/Payload/BeautyCamera.app’)’ returned non-zero exit status 1

0.00B [00:00, ?B/s]Generating “美人相机.ipa”
[Errno 2] No such file or directory: u’/var/folders/r0/z5kqdrms4j11cd2tslbl40x80000gn/T/Payload/BeautyCamera.fid’

请问一下,这个错误是哪里出了问题,求大神解释。


#20

多少的系统,我自己没遇到,群里有人说装个OpenSSH可以解决,你可以试试?


#23

庆哥,这个问题,已经解决了。我安装了OpenSSH就可以了。


#24

确实,GitHub上issue有人回答.ssh和scp都要才行,我好像是scp没搞好也是这个错误,


#25

SCP我到现在也不行,我没弄了。我直接用IFunBox了。


#26

话说怎么发帖子啊。。。。没找到这个功能


#27

这个好像说的是找不到你砸壳的目标文件吧


#28

@AloneMonkey 庆哥
安装依赖环境的时候 装到frida 一直卡住
Requirement already up-to-date: wcwidth in /Library/Python/2.7/site-packages (from -r /opt/dump/frida-ios-dump/requirements.txt (line 19)) (0.1.7)
Installing collected packages: frida, pyasn1, PyNaCl, paramiko, prompt-toolkit, scp, tqdm
Running setup.py

install for frida … \

单独安装它提示
Collecting frida<13.0.0,>=12.0.0 (from frida-tools)
Could not find a version that satisfies the requirement frida<13.0.0,>=12.0.0 (from frida-tools) (from versions: )
No matching distribution found for frida<13.0.0,>=12.0.0 (from frida-tools)

这怎么解决啊。
可是官网只有12.0.0啊,,,、


#29

翻墙。。。。


#30

我修改了PIP源,都下载下来了 但是安装frida 都是卡在 Running setup.py install for frida … \


#31

Requirement already satisfied: six>=1.9.0 in /Library/Python/2.7/site-packages (from prompt-toolkit<2.0.0,>=0.57->frida-tools) (1.11.0)
Installing collected packages: frida, frida-tools
Running setup.py install for frida … \


#32

原来光修改源还没用啊。。。 已解决。


#33

你开个 --verbose 就知道了,设置 pypi 源镜像只对 pip 本身有用,但是 frida 的 setup.py 自己会去 pypi 下载一个包,这时候就无视你的镜像设置