Comments (12)
androguard1.5
Original comment by [email protected]
on 7 Aug 2012 at 9:34
from androguard.
is a,d,dx=AnalyzeAPK("/root/aaa.apk",decompiler="dad")
Original comment by [email protected]
on 7 Aug 2012 at 9:39
from androguard.
Yes, few changes for the new version
http://doc.androguard.re/html/androlyze.html
Original comment by [email protected]
on 7 Aug 2012 at 9:39
- Changed state: Invalid
from androguard.
[deleted comment]
from androguard.
but why this happened?
In [24]: a,d,dx=AnalyzeAPK("/root/aaa.apk",decompiler="dad")
In [25]:
d.CLASS_Lcom/wTdtandroid/MainNavigationActivity.METHOD_onCreate.source()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/root/androguard/androlyze.py in <module>()
----> 1 d.CLASS_Lcom/wTdtandroid/MainNavigationActivity.METHOD_onCreate.source()
AttributeError: 'DalvikVMFormat' object has no attribute 'CLASS_Lcom'
Original comment by [email protected]
on 7 Aug 2012 at 9:44
from androguard.
use the tabulation to have automatically the completion. Because you are using
a bad path to the object, use the tab !
Original comment by [email protected]
on 7 Aug 2012 at 9:46
from androguard.
I'm sorry. there is a fault.
d.CLASS_Lcom/wTdtandroid/MainNavigationActivity.METHOD_onCreate.source()
should be
d.CLASS_Lcom_wTdtandroid_MainNavigationActivity.METHOD_onCreate.source()
Original comment by [email protected]
on 7 Aug 2012 at 9:55
from androguard.
uhm, is it possible to have the sample ?
Original comment by [email protected]
on 7 Aug 2012 at 10:19
from androguard.
But there is another problem.
/root/androguard/androlyze.py in <module>()
----> 1 d.CLASS_Lcom_anksoft_Alarmreceiver.METHOD_onReceive.source()
/root/androguard/androguard/core/bytecodes/dvm.pyc in source(self)
2787 :rtype: string
2788 """
-> 2789 self.CM.decompiler_ob.display_source( self )
2790
2791 def get_length(self) :
AttributeError: 'NoneType' object has no attribute 'display_source'
Original comment by [email protected]
on 8 Aug 2012 at 8:33
from androguard.
have you use AndrolyzeAPK with decompiler option ?
Original comment by [email protected]
on 8 Aug 2012 at 8:36
from androguard.
This problem has solved. But there is another problem, if i input "ded", an
error occured:
In [2]: a,d,dx=AnalyzeAPK("/tmp/abc.apk",decompiler="ded")
---------------------------------------------------------------------------
IOError Traceback (most recent call last)
/root/androguard/androlyze.py in <module>()
----> 1 a,d,dx=AnalyzeAPK("/tmp/abc.apk",decompiler="ded")
/root/androguard/androlyze.py in AnalyzeAPK(filename, raw, decompiler)
111 """
112 androconf.debug("APK ...")
--> 113 a = APK(filename, raw)
114
115 d, dx = AnalyzeDex( a.get_dex(), raw=True, decompiler=decompiler )
/root/androguard/androguard/core/bytecodes/apk.pyc in __init__(self, filename,
raw, mode, magic_file)
159 self.__raw = filename
160 else :
--> 161 fd = open( filename, "rb" )
162 self.__raw = fd.read()
163 fd.close()
IOError: [Errno 2] No such file or directory: '/tmp/abc.apk'
But it is OK if I input "dad".
Original comment by [email protected]
on 8 Aug 2012 at 9:52
from androguard.
Yes of course, DAD is in Androguard. But for DED, you must install it as shown
in http://code.google.com/p/androguard/wiki/Decompiler
Original comment by [email protected]
on 8 Aug 2012 at 9:55
from androguard.
Related Issues (20)
- Permissions taken into consideration for risk score computation HOT 1
- msign.py not found HOT 2
- bug APK recognization HOT 1
- add method to get class source HOT 1
- dvm.DalvikVMFormat.fix_checksums() bug HOT 2
- Androrisk: TaintedPackage instance has no attribute 'get_info' HOT 3
- BF is not valid while scanning HOT 3
- Suggestion: Create a switch for getting all found signatures HOT 2
- Singature database loading error. Exploid ERROR, RageAgainsttheCage ERROR HOT 3
- add get_detailed_permission to VMAnalysis HOT 2
- source() returning error with dad HOT 2
- apkviewer error HOT 2
- Newer version of Androguard is order of magnitudes slower than Older version for Malware Variant Detection (androsign.py) HOT 2
- Formatter in get_source in decompiler.py HOT 1
- show_paths() no longer works HOT 1
- dvm.py get_instructions HOT 1
- Androsim.exe 1.2 does not install HOT 1
- __init__() got an unexpected keyword argument 'magic_file' HOT 6
- how to analysis malware using androguard? HOT 2
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.