richinfante / iphonebackuptools

iOS Backup Data Extraction
http://www.richinfante.com/2017/3/16/reverse-engineering-the-ios-backup
MIT License
318 stars 52 forks source link

Message conversations extract with message contents & attachments #64

Open altin opened 4 years ago

altin commented 4 years ago

Currently, we can export photo locations with --photos.locations. I suppose this may be of some use, but I think that exporting the images themselves is beneficial, especially in conjunction with the messages. This way, when/if a front-end is ever made, conversations with a particular contact would be complete and have their own corresponding photos.

I understand that images can easily be accessed from the DCIM folder, but this isn't the case with third-party messaging apps like Viber (unless the user allows all received Viber photos to be sent to the camera roll).

Thoughts? I can implement this.

mssdvd commented 4 years ago

@altin Where is the DCIM folder?

altin commented 4 years ago

@altin Where is the DCIM folder?

It is in the iPhone drive that is created when an iPhone is plugged in. For Windows, it is in the ...\Apple iPhone\Internal Storage\DCIM\ drive. It probably won't be called DCIM For macOS users, so I guess the better way to import photos for both Windows/macOS is to follow these tutorials written by Apple.

Regardless, I believe there are still use cases for adding this feature.

mssdvd commented 4 years ago

@altin Where is the DCIM folder?

It is in the iPhone drive that is created when an iPhone is plugged in. For Windows, it is in the ...\Apple iPhone\Internal Storage\DCIM\ drive. It probably won't be called DCIM For macOS users, so I guess the better way to import photos for both Windows/macOS is to follow these tutorials written by Apple.

Regardless, I believe there are still use cases for adding this feature.

Thanks but I hoped that there was an easy way to extract Images from a backup like many commercial apps do. So there are certainly use cases for adding this feature.

richinfante commented 4 years ago

Apologies for the delay - I work on this in my spare time. You should be able to extract all the files in a backup using a command similar to this, but it'll export everything:

ibackuptool -b $UDID -r backup.files --extract ~/Desktop/BackupFiles

Right now there's no support for exporting images from message conversations, but this might change in the future.