¡@

Home 

2014/10/15 ¤U¤È 10:09:34

iphone Programming Glossary: getint

How to decrypt an encrypted Apple iTunes iPhone backup?

http://stackoverflow.com/questions/1498342/how-to-decrypt-an-encrypted-apple-itunes-iphone-backup

removePadding 16 data return data ## # this .mbdb parsing code is from http stackoverflow.com q 3085153 14558 def getint data offset intsize Retrieve an integer big endian and new offset from the current offset value 0 while intsize 0 value.. into the data if data offset chr 0xFF and data offset 1 chr 0xFF return '' offset 2 # Blank string length offset getint data offset 2 # 2 byte length value data offset offset length return value offset length def process_mbdb_file filename.. 'datahash' offset getstring data offset fileinfo 'unknown1' offset getstring data offset fileinfo 'mode' offset getint data offset 2 fileinfo 'unknown2' offset getint data offset 4 fileinfo 'unknown3' offset getint data offset 4 fileinfo 'userid'..