访问iOS文件系统没有越狱? [英] Access iOS filesystem without jailbreak?

查看:671
本文介绍了访问iOS文件系统没有越狱?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写/使用可以访问iOS文件系统(非越狱)的开源脚本。在越狱设备上,我使用 ssh / scp 访问,设备。 Intent是将 iOS文件系统(例如 / var / mobile / Applications / xxx-xxxx / Documents )的某些部分复制到Mac, 非越狱设备使用一些脚本。我看到像iFunBox的工具是能够做到的。

I would like to write/use an open source script that can access iOS filesystem (non-jailbroken). On a Jailbroken device, i use ssh/scp to access, transfer data from the device. Intent is to copy some part of the iOS filesystem (say /var/mobile/Applications/xxx-xxxx/Documents) to a Mac, from a non-Jailbroken device, using some script. I see that tools like iFunBox is able to do it. Would like to know it manages to do so.

我遇到了 mobiledevice.h 但不能真正理解如何使用它。

I came across mobiledevice.h but could not really understand how to use it.

此外,更喜欢这样做通过USB ..一个越狱设备,请使用 tcprelay.py 执行 usb tunneling 。是否有可以用于非越狱设备的东西?

Also, would prefer getting this done over USB.. for a jailbroken device, i use tcprelay.py for doing the usb tunneling. Is there something i can use for a non jailbroken device?

推荐答案

MobileDeviceManager库为我们带来了简单的文件系统操作(它是一个易于使用的Objective-C包装器,围绕您遇到的MobileDevice框架)。

The MobileDeviceManager library brings us simple filesystem operations (it's an easy-to-use Objective-C wrapper around the MobileDevice framework you have come across).

事情是,它不支持将从设备复制到计算机,只有相反的方式。因此,为了解决此问题,我创建了一个补丁( GitHub gist ),您可以将其合并到包含示例程序,以了解 copyFrom 命令。

The thing is that it doesn't support copying files from the device to the computer, only the other way around. So, in order to work around this issue, I've created a patch (GitHub gist) that you can merge into the included sample program to have it understand the copyFrom command.

这篇关于访问iOS文件系统没有越狱?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆