Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem of usage #17

Closed
GoogleCodeExporter opened this issue Mar 20, 2015 · 7 comments
Closed

The problem of usage #17

GoogleCodeExporter opened this issue Mar 20, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

I have just begun to use androguard, but find a problem of usage. If I input a 

command like "./androlyze.py -i ~/Downloads/Mms.apk -m . -p" in the directory 

of androguard, it always gives a error warning like 
"Traceback (most recent call last):
  File "./androlyze.py", line 34, in <module>
    from decompiler import *
  File ".//decompiler/decompiler.py", line 23, in <module>
    from pygments.filter import Filter
ImportError: No module named pygments.filter".

But "./demos/dalvikvm_format_1.py" is ok. So I don't known the reason. I use 

androguard in the ARE Virtual Machine and always update androguard.

Really appreciate your help.

Thank you!

Original issue reported on code.google.com by Sophie.x...@gmail.com on 10 Feb 2012 at 8:41

@GoogleCodeExporter
Copy link
Author

Hi,

for now, you need to install pygments (pygments.org).

We are working on a new ARE release :)

Original comment by anthony....@gmail.com on 10 Feb 2012 at 8:47

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

is it ok ?

Original comment by anthony....@gmail.com on 11 Feb 2012 at 9:31

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 17 Feb 2012 at 9:25

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Hi,

I apologize for my delayed response. I have installed pygments and it works. 
But I 

cannot make a new ARE work, so I don't know the difference between the two 
versions.

And I am interested in your decompiler, dad. As you mentioned in  Black Hat 
2011,dad 

only uses Dalvik bytecode to create an original Java source code. Hence, I 
would 

like to know its effect. But when I use it, it always give me an error warning, 
like 

AttributeError                            Traceback (most recent call last)

/home/android/tools/androguard/androlyze.py in <module>()
----> 1 
      2 
      3 
      4 
      5 

AttributeError: 'DalvikVMFormat' object has no attribute 
'CLASS_Lcom_android_root_adbRoot'

And I start to use it with the command like 

android@honeynet:~/tools/androguard$ ./androlyze.py -s

In [1]: a, d, dx = AAnalyzeAPK("/home/android/Downloads/Mms.apk", 
decompiler="dad")

In [2]: d.CLASS_Lcom_android_root_adbRoot.METHOD_crypt.source()

Really sorry for my delayed response and thanks for your help!

Original comment by Sophie.x...@gmail.com on 19 Feb 2012 at 3:56

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 22 Feb 2012 at 5:06

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 27 Mar 2012 at 3:17

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 20 May 2012 at 9:19

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant