What steps will reproduce the problem?
1. androdd.py -i my.apk -o output_dir -f JPG
What is the expected output? What do you see instead?
androdd should exits silently. Instead the following backtrace happens :
File "/usr/local/lib/python2.6/dist-packages/androguard-1.5-py2.6.egg/androguard/core/bytecode.py", line 206, in method2format
getattr(d, "write_" + _format)( output )
AttributeError: 'Dot' object has no attribute 'write_JPG'
What version of the product are you using? On what operating system?
Androdd version 1.9
Please provide any additional information below.
The following line should be replaced:
getattr(d, "write_" + _format)( output )
For example:
getattr(d, "write_" + _format.lower())( output )
Original issue reported on code.google.com by i...@consortium-of-pwners.net on 4 Jan 2013 at 8:35
Original issue reported on code.google.com by
i...@consortium-of-pwners.net
on 4 Jan 2013 at 8:35