Windows下安装androguard

来源:互联网 发布:51单片机助手破解版u币 编辑:程序博客网 时间:2024/06/05 12:41

一、准备工作

1、安装msysgit

下载地址:

https://code.google.com/p/msysgit/downloads/list
https://code.google.com/p/msysgit/downloads/detail?name=msysGit-fullinstall-1.8.3-preview20130601.exe&can=2&q=

2、参考AndroGuard谷歌代码上的说明
http://code.google.com/p/androguard/wiki/Installation#Building_from_source_code_(default_install)

Building from source code (default install)

Requirements

Mandatory:

  • >= python 2.6. Note that if you wish to use andromercury, python >= 2.7 is required.

Only with default python installation, you can disassemble/decompile Android Application (APK/DEX/ODEX), but if you need more features (images, interactive shell, similarities, elf analysis), you must install the next modules:

Optional:

  • python-dev
  • ipython >= 0.12 is required by androlyze.py.
  • pygments is required by androlyze.py, to have colors with decompilation
  • pydot for androdd.py
  • python-ptrace for androdump.py
  • chilkat: used to unzip the APK application for python2.6, otherwise the zip python module is used (module apk.py). Also used to retrieve the APK's certificate.
  • magic is used in method get_files_types in APK module to found files types (module apk.py)
  • pyfuzzy is used to calculate risk indicator (module androrisk.py)
  • mercury is required by andromercury.py
  • the elsim subdirectory, used by androcsign.py, androsign.py, androdiff.py, androsim.py and andromercury.py, also require:
    • sparsehash
    • muparser
    • snappy
    • bzip2
    • zlib
  • psyco is used to accelerate androguard, but it's not mandatory to install it.

/ To check: requirement of numpy, scipy, smiasm, xz /


依次下载:

http://archive.ipython.org/release/0.10.1/

https://pypi.python.org/pypi/Pygments
https://pypi.python.org/packages/source/P/Pygments/Pygments-1.6.tar.gz#md5=a18feedf6ffd0b0cc8c8b0fbdb2027b1


http://www.chilkatsoft.com/installPython27.asp


https://github.com/ahupp/python-magic
https://github.com/ahupp/python-magic/archive/master.zip


http://sourceforge.net/projects/pyfuzzy/files/pyfuzzy/

http://labs.mwrinfosecurity.com/tools/2012/03/16/mercury/downloads/
http://labs.mwrinfosecurity.com/assets/418/mercury-installer-2.2.2.zip






http://zlib.net/
http://zlib.net/zlib-1.2.8.tar.gz

http://bzip.org/downloads.html
http://bzip.org/1.0.6/bzip2-1.0.6.tar.gz

http://tukaani.org/xz/
http://tukaani.org/xz/xz-5.0.5.tar.gz

原创粉丝点击