Giter Site home page Giter Site logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
androguard1.5

Original comment by [email protected] on 7 Aug 2012 at 9:34

from androguard.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
is a,d,dx=AnalyzeAPK("/root/aaa.apk",decompiler="dad")

Original comment by [email protected] on 7 Aug 2012 at 9:39

from androguard.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
[deleted comment]

from androguard.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
uhm, is it possible to have the sample ?

Original comment by [email protected] on 7 Aug 2012 at 10:19

from androguard.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
have you use AndrolyzeAPK with decompiler option ?

Original comment by [email protected] on 8 Aug 2012 at 8:36

from androguard.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.