SmartCloud783 / iphone-dataprotection

Automatically exported from code.google.com/p/iphone-dataprotection
0 stars 0 forks source link

emf_decrypter FieldError #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I try to decrypt my RAW *.dmg backup with the emf_decrypter.py

This is what I do and the Exception

sudo python emf_decrypter.py --nowrite ../../download/rdisk0s1s2.dmg 
../../download/48ebe204b13bb4f8.plist 
Password:
Traceback (most recent call last):
  File "emf_decrypter.py", line 34, in <module>
    main()
  File "emf_decrypter.py", line 18, in main
    v = EMFVolume(p, device_infos)
  File "/Users/me/Documents/Workspace/Raw/iphone-dataprotection/python_scripts/hfs/emf.py", line 91, in __init__
    super(EMFVolume,self).__init__(bdev, **kwargs)
  File "/Users/me/Documents/Workspace/Raw/iphone-dataprotection/python_scripts/hfs/hfs.py", line 120, in __init__
    self.catalogTree = CatalogTree(self.catalogFile, self)
  File "/Users/me/Documents/Workspace/Raw/iphone-dataprotection/python_scripts/hfs/btree.py", line 191, in __init__
    super(CatalogTree,self).__init__(file, HFSPlusCatalogKey, HFSPlusCatalogData)
  File "/Users/me/Documents/Workspace/Raw/iphone-dataprotection/python_scripts/hfs/btree.py", line 14, in __init__
    btnode = BTNodeDescriptor.parse(block0)
  File "/Library/Python/2.7/site-packages/construct-2.06-py2.7.egg/construct/core.py", line 181, in parse
    return self.parse_stream(StringIO(data))
  File "/Library/Python/2.7/site-packages/construct-2.06-py2.7.egg/construct/core.py", line 191, in parse_stream
    return self._parse(stream, Container())
  File "/Library/Python/2.7/site-packages/construct-2.06-py2.7.egg/construct/core.py", line 645, in _parse
    subobj = sc._parse(stream, context)
  File "/Library/Python/2.7/site-packages/construct-2.06-py2.7.egg/construct/core.py", line 356, in _parse
    raise FieldError(ex)
construct.core.FieldError: expected 4, found 0

I have no clue what is wrong....
I hope someone can help me.

Original issue reported on code.google.com by marcelba...@gmail.com on 30 Jan 2013 at 9:12

GoogleCodeExporter commented 8 years ago
Ok, there was a problem with my *.dmg   now it works...

Original comment by marcelba...@gmail.com on 30 Jan 2013 at 9:56

GoogleCodeExporter commented 8 years ago
closing old issues

Original comment by jean.sig...@gmail.com on 11 Feb 2014 at 10:38