Open GoogleCodeExporter opened 8 years ago
Thanks for the detailed report. Can you try replacing
print "Decrypting", filename
with
print "Decrypting", filename.encode("utf-8")
in python_scripts/hfs/emf.py", line 187
Let me know if other errors appear, i'm not quite sure if this is the correct
way to fix this. Thanks.
Original comment by jean.sig...@gmail.com
on 7 Mar 2012 at 10:19
Unfortunately, I deleted the image and the keys after it became apparent that
the data I was looking for could not be recovered from the image. In addition,
I no longer have access to a device I can image in order to test the fix.
I continued the process described in the README by replacing filename in the
line you mention with repr(filename). Not a good solution, but it allowed me to
continue.
Thanks again.
Original comment by hakim....@gmail.com
on 9 Mar 2012 at 5:30
Jean, I have noticed the same behavior on an app with a (c) copyright symbol in
the .ipa filename. I was getting around to investigating this further, I will
test out your recommendation when I have a chance.
Original comment by 0x56.0x6...@gmail.com
on 9 Mar 2012 at 7:23
It looks like the str.encode("utf-8") method fixes this issue. I placed this on
line 178 or emf.py instead, changing:
filename = getString(k)
to
filename = getString(k).encode("utf-8")
That way, the print statement on line 173 should succeed as well in all cases.
I don't personally have a dataset that allows me to test this, so I have only
been able to test through feedback from others that have encountered this
problem. This fix doesn't adversely affect a decryption that does not cause
this encoding issue. I just want to be forthcoming that the fix has not been
thoroughly validated by me against the original problem.
Original comment by 0x56.0x6...@gmail.com
on 11 Apr 2012 at 7:51
This issue was updated by revision 76d7d636dbb8.
Pushed the change, looks ok for now
Original comment by jean.sig...@gmail.com
on 28 Apr 2012 at 9:33
Original issue reported on code.google.com by
hakim....@gmail.com
on 7 Mar 2012 at 4:27