Author slo.sleuth
Recipients slo.sleuth
Date 2014-05-19.22:08:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400537332.53.0.0901948459241.issue21538@psf.upfronthosting.co.za>
In-reply-to
Content
plistlib has key error when attempting to load the iOS7  
var/mobile/Applications/com.apple.mobilesafari/Library/Safari/History.plist.  No detected issues with other iOS7 plists.

In [8]: with open('cases/vitale_test_iphone/unback/AppDomain-com.apple.mobilesafari/Library/Safari/History.plist', 'rb') as f:
   ...:     plist = plistlib.lo
plistlib.load   plistlib.loads  
   ...:     plist = plistlib.load(f)
   ...:     
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-8-7824ac03848c> in <module>()
      1 with open('cases/vitale_test_iphone/unback/AppDomain-com.apple.mobilesafari/Library/Safari/History.plist', 'rb') as f:
----> 2     plist = plistlib.load(f)
      3 

/usr/lib/python3.4/plistlib.py in load(fp, fmt, use_builtin_types, dict_type)
    993         p = _FORMATS[fmt]['parser'](use_builtin_types=use_builtin_types)
    994 
--> 995     return p.parse(fp)
    996 
    997 

/usr/lib/python3.4/plistlib.py in parse(self, fp)
    620             ) = struct.unpack('>6xBBQQQ', trailer)
    621             self._fp.seek(offset_table_offset)
--> 622             offset_format = '>' + _BINARY_FORMAT[offset_size] * num_objects
    623             self._ref_format = _BINARY_FORMAT[self._ref_size]
    624             self._object_offsets = struct.unpack(

KeyError: 3
History
Date User Action Args
2014-05-19 22:08:52slo.sleuthsetrecipients: + slo.sleuth
2014-05-19 22:08:52slo.sleuthsetmessageid: <1400537332.53.0.0901948459241.issue21538@psf.upfronthosting.co.za>
2014-05-19 22:08:52slo.sleuthlinkissue21538 messages
2014-05-19 22:08:51slo.sleuthcreate