一、准备工作
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谷歌代码上的说明
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:
- 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:
- 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/
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/