Comments (2)
me either.
sx@sx-R408P:~/androguard$ ./androdd.py -i ~/crackme0502.apk -o ~/out/ -d -f png
Dump information /home/sx/crackme0502.apk in /home/sx/out/
Clean directory /home/sx/out/
Analysis ... End
Decompilation ...
Traceback (most recent call last):
File "./androdd.py", line 222, in <module>
main(options, arguments)
File "./androdd.py", line 207, in main
export_apps_to_format(options.input, a, options.output, options.limit, options.jar, options.decompiler, options.format)
File "./androdd.py", line 127, in export_apps_to_format
raise("invalid decompiler !")
TypeError: exceptions must be old-style classes or derived from BaseException,
not str
Ubuntu 13.10 + python2.7.5 + hg clone https://androguard.googlecode.com/hg/
androguard (so I cloned the latest androguard)
I have done my homework. Python 2.5 shows 'deprecation' .Python 2.7 /3.0 just do not support str-based anomaly.
Still don't know how to deal.Must install Python 2.5 ?
Original comment by [email protected]
on 30 Apr 2014 at 3:21
from androguard.
change raise 'String' with raise Exception('string') in your androdd.py script
Original comment by [email protected]
on 16 Jul 2014 at 9:31
from androguard.
Related Issues (20)
- Androdd filename bug
- Problem with DalvikFormat save()
- "TypeError: exceptions must be old-style classes or derived from BaseException, not str " when running androdd.py HOT 1
- get_main_activity() HOT 1
- Exceptions must be old-style classes (androcsign)
- Patch for /androlyze.py
- AndroidManifest.xml is not well formatted in OBAD Malware
- DAD error when tryiong to decompile SMForw malware class
- androaxml error "not well-formed (invalid token)"
- Renaming methods with prototype in their name does not update the python exports
- Renaming a method, then the class make all the methods have the same name
- suggestion: add Modification of DEX file to the wiki RE
- Is there any API can be used for building a data-dependence-graph for one method?
- Error in decoding byte array into utf-8 and utf-16 strings
- AttributeError: 'NoneType' object has no attribute 'set_attributes' HOT 1
- dad does not decompile correctly interface HOT 1
- string of length 0 found in BadNews Malware sample
- Incorrect Sign Conversion for readsleb128
- androsign.py Segmentation Fault HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androguard.