Tidak Ada Deskripsi

Rich Infante 090d49374a Add support for newer iOS Notes 7 tahun lalu
tools 090d49374a Add support for newer iOS Notes 7 tahun lalu
.gitignore 1ce6e6465d first commit 8 tahun lalu
Readme.md 090d49374a Add support for newer iOS Notes 7 tahun lalu
package.json 090d49374a Add support for newer iOS Notes 7 tahun lalu

Readme.md

iPhone backup tools

Are you storing unencrypted iPhone backups on your personal computer? With very little effort, we can dump all the saved messages from the backup, as well as notes, photo locations, and other data.

Check out my recently updated post about my work on backups here: Reverse Engineering the iOS Backup

This tool is also still fairly experimental, so use at your own risk! Even though the tool opens the backup files as read-only, you should still make a copy of your backups before using this if they are important.

Currently works on macOS, If someone wants to make the changes nessecary for windows, send a PR.

iOS Support

  • iOS 9 (possibly earlier?) backup type: 2.4
  • iOS 10 (no contact lookup) backup type: 3.2
  • iOS 11 (no contact lookup) backup type: 3.2

Installing

# Install directly from NPM
npm i -g ibackuptool

# If you prefer, you can do this manually:
# Clone this repo, then run:
# Install Globally on your system.
npm i -g 

# Or, If you really want:
# Clone this repo, then run: 
npm install
run `node tools/index.js` # use this instead of ibackuptool

Usage

# List all the backups on the system
ibackuptool -l 

# I'm using "0c1bc52c50016933679b0980ccff3680e5831162" as a placeholder.
# The list of backups contains the different UDIDs in the first column.
UDID="0c1bc52c50016933679b0980ccff3680e5831162"

Reports

  • run using ibackuptool -b <udid> --report <type>
  • Current types:

    • apps: List all installed bundle ids and groups.
    • notes: List all notes data
    • oldnotes: List old notes data that may have been retained from around iOS 8ish
    • webhistory: List recent web history
    • photolocations: List photo locations (lat/lng) and timestamp.
    • manifest: List all files in the backup manifest and what they are.

      # Using a UDID from the previous step, now you can run:
      # List Installed Apps
      ibackuptool -b $UDID --report apps
      
      # List Recent Web History
      ibackuptool -b $UDID --report webhistory
      
      # List Recent Photos Geolocations
      ibackuptool -b $UDID --report photolocations
      
      # List iOS Notes
      ibackuptool -b $UDID --report notes
      
      # List iOS Notes from old database that may exist
      ibackuptool -b $UDID --report oldnotes
      

Messages Access

# List of all conversations, indexed by ID.
# Each row starts with an ID number, which is needed for the next step.
ibackuptool -b $UDID --conversations

# Now, Fetch the messages with the following command
# Replace $CONVERSATION_ID with a row ID from `ibackuptool -b $UDID --conversations`
ibackuptool -b $UDID --messages $CONVERSATION_ID

Need More Data?

  • !! This will cause the program to output Everything to STDOUT as formatted JSON. !!
  • Append the --dump flag to the program.
  • I'd recommend piping this output to a file.

  • You should make a backup of the backups you look at using this tool, even though they are opened as read-only, you should still do that do you don't accidentally do something to lose data.

TODO

  • Contact name lookup for newer iOS10, iOS11 backups