pruthvikar / iphone-dataprotection

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

TypeError: object of type 'NoneType' has no len() #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
undelete

What is the expected output? What do you see instead?
{...}
4 versions for first lba
[263899, 263900, 263901, 263902, 263903]
Traceback (most recent call last):
  File "{...}\python_scripts\ios_examiner.py", line 366, in <module>
    main()
  File "{...}\python_scripts\ios_examiner.py", line 363, in main
    ExaminerShell(image).cmdloop("")
  File "C:\Program Files\Python2\lib\cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "C:\Program Files\Python2\lib\cmd.py", line 219, in onecmd
    return func(arg)
  File "{...}\python_scripts\ios_examiner.py", line 229, in do_undelete
    self.carver.carveDeletedFiles_fast(z, f)
  File "{...}\python_scripts\nand\carver.py", line 224, in carveDeletedFiles_fast
    if self.readFileHax(name, vv.data, keys):
  File "{...}\python_scripts\nand\carver.py", line 319, in readFileHax
    ciphertext = self.decryptFileBlock2(ciphertext, filekey, lbn, idx*self.pageSize)
  File "{...}\python_scripts\nand\carver.py", line 360, in decryptFileBlock2
    for i in xrange(len(ciphertext)/0x1000):
TypeError: object of type 'NoneType' has no len()

What version of the product are you using?
d67884c68fec

On what operating system?
Windows XP

Original issue reported on code.google.com by afbaa...@gmail.com on 23 Apr 2013 at 1:56

GoogleCodeExporter commented 8 years ago
This issue was closed by revision e51ae39e7f5b.

Original comment by jean.sig...@gmail.com on 26 May 2013 at 11:13

GoogleCodeExporter commented 8 years ago
Try updating to the latest revision (hg pull -u), the last commit should fix 
this bug.
Thanks.

Original comment by jean.sig...@gmail.com on 26 May 2013 at 11:14