访问iOS文件系统没有越狱?

编程入门 行业动态 更新时间:2024-10-23 10:20:59
本文介绍了访问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文件系统没有越狱?

本文发布于:2023-10-31 18:47:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1546960.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件系统   iOS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!