Skip to content

A python script to dump texts from iMessage from an iPhone backup to a csv file.

License

Notifications You must be signed in to change notification settings

echohack/iphone_messages_dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iphone_messages_dump

A python script to dump texts from iMessage from an iPhone backup to a file.

Handles several output data formats including csv and json.

Originally based on Jehiah Czebotar's script to dump iMessages to a csv file.

This script now runs on Python 3 and fixes several bugs.

See the iphonewiki for more information on how this script works. http://theiphonewiki.com/wiki/IMessage#References

TODO:

  • Proper error handling for Madrid flags 32773, 77825, 102405.
  • Unit tests with Nose.
  • Refactor csv / json if else handling

List of done:

  • Proper license file
  • Dynamically determine OS (Mac/Windows) and use default location.
  • Refactor to patterns.
  • Create dictionaries explicitly instead of implicitly.
  • Use argparse instead of optparse.
  • PEP8 compliance.
  • After refactor, encoding should be better handled so encoding hack shouldn't be required.
  • Python 3 support
  • Date time stamp! (Replaced by compare logic.)
  • Better unicode handling
  • Python 3.x style string format.
  • When privacy is enabled, write a different file. Currently writing with and without privacy will cause duplicate items.
  • Performance improvements.
  • Output choice. Need to add support for JSON.

Backlog:

  • Proper installation (via pip)
  • Add feature to dump parsed data?

About

A python script to dump texts from iMessage from an iPhone backup to a csv file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages