Mac OS X下进行APK逆向

转载请注明原作者,如果你觉得这篇文章对你有帮助或启发,不用请我喝咖啡:D

1.安装apktool

访问apktool网站

http://ibotpeaches.github.io/Apktool/

执行以下步骤:

  1. Download Mac wrapper script (Right click, Save Link As apktool)
  1. Download apktool-2 (find newest here)
    Rename downloaded jar to apktool.jar
  2. Move both files (apktool.jar& apktool) to /usr/local/bin (root needed)

    P.S. Make sure both files are executable (chmod +x)

  3. Try running apktool via cli
    • cli:Command-Line Interface
    • 下载的apktool另存后,其实默认名字是apktool.txt,chomd +x apktool命令就无效,需要从Get Info界面中把.txt后缀移除。

2.apktool 用法

  • 反编译apk:apktool d[ecode] [opts] []
  • 编译apk:apktool b[uild] [opts] [] []

3.未完待续