简体   繁体   English

如何从Linux上的非越狱iPhone提取sms.db

[英]How to extract sms.db from non-jailbroken iphone on linux

Objective: Extract the sms.db sms text message database from an Iphone 4S. 目标:从Iphone 4S提取sms.db sms文本消息数据库。

I have installed ifuse on ubuntu 12.04 and am able to browse certain folders. 我已经在ubuntu 12.04上安装了ifuse,并且能够浏览某些文件夹。 None seem to contain the 'sms.db' file. 似乎没有包含“ sms.db”文件的文件。

It is possible to extract the sms.db using freely available tools on linux? 可以使用Linux上免费提供的工具来提取sms.db吗?

I don't know yet how to access the SMS.DB file directly from the phone. 我还不知道如何直接从电话访问SMS.DB文件。 But if you backup an iPhone using for example iTunes, you can then read the SMS.DB file from within the backup. 但是,如果使用例如iTunes备份iPhone,则可以从备份中读取SMS.DB文件。 It will be SHA-1 hashed (the file name will be gibberish), but it should still be a .DB file. 它将被SHA-1散列(文件名将是乱码),但是它仍然应该是.DB文件。 You'll need iPhone Analyzer to unhash the file names, or something similar. 您将需要iPhone Analyzer来取消散列文件名或类似名称。 Then you can load it into SQLite. 然后,您可以将其加载到SQLite中。 Please post here if you find a solution. 如果您找到解决方案,请在此处发布。

I've figured out a way on how to access it with Jailbroken devices... It miiiiiight be the same if you aren't jailbroken based on what the Github says ( https://github.com/libimobiledevice/ifuse ) 我已经找到了一种如何使用越狱设备访问它的方法...基于Github所说的话,如果您没有越狱,它也可能是相同的( https://github.com/libimobiledevice/ifuse

Anyways, open a terminal 反正打开一个终端

Sudo su 

now make a folder in your home and direct ifuse to that folder 现在在您的家中创建一个文件夹,然后直接将其使用到该文件夹

ifuse --root /home/<INSERT NAME>/<INSERT NAME OF FOLDER> 

Now you gotta open that folder as root 现在您要以根用户身份打开该文件夹

nautilus

Browse through your /home/ and find the folder. 浏览您的/ home /并找到文件夹。

It should be in 应该在

/var/mobile/Library/SMS/sms.db

Then you just copy it to your desktop and your good to go! 然后,您只需将其复制到桌面上即可使用!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM