使用Apktool反编译apk

使用Apktool反编译apk

apktool 工具包描述

这是一款用于逆向工程、回编译、逆向二进制app的工具。它可以解码资源到几乎最初开发时的形式,并可以在修改之后重新构建它们;它提供了断点调试功能而且使得重新构建工程文件结构自动化,简单化,省去了大量重复工作。

常用命令

  • 用法:apktool
  • -advance,–advanced 打印预先信息。
  • -version,–version 打印版本然后退出
  • 用法:apktool if|install-framework [options]
  • -p,–frame-path 将框架文件存储到 中。
  • -t,–tag 使用 标记框架。
  • 用法:apktool d[ecode] [options]
  • -f,–force 强制删除目标目录。
  • -o,–output 被写入的文件夹的名称。默认为 apk.out
  • -p,–frame-path 使用位于 中的框架文件。
  • -r,–no-res 不解码资源。
  • -s,–no-src 不解码源。
  • -t,–frame-tag 使用由 标记的框架文件。
  • 用法:apktool b[uild] [options]
  • -f,–force-all 跳过更改检测并构建所有文件。
  • -o,–output 写入的 apk 的名称。默认为 dist/name.apk
  • -p,–frame-path 使用位于 中的框架文件。
图片[1]|使用Apktool反编译apk|漏洞猎人基地
root@kali:~# apktool -h
Apktool v2.6.1-dirty - a tool for reengineering Android apk files
with smali v2.4.0-debian and baksmali v2.4.0-debian
Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>
Copyright 2010 Connor Tumbleson <connor.tumbleson@gmail.com>

usage: apktool
 -advance,--advanced   prints advance information.
 -version,--version    prints the version then exits
usage: apktool if|install-framework [options] <framework.apk>
 -p,--frame-path <dir>   Stores framework files into <dir>.
 -t,--tag <tag>          Tag frameworks using <tag>.
usage: apktool d[ecode] [options] <file_apk>
 -f,--force              Force delete destination directory.
 -o,--output <dir>       The name of folder that gets written. Default is apk.out
 -p,--frame-path <dir>   Uses framework files located in <dir>.
 -r,--no-res             Do not decode resources.
 -s,--no-src             Do not decode sources.
 -t,--frame-tag <tag>    Uses framework files tagged by <tag>.
usage: apktool b[uild] [options] <app_path>
 -f,--force-all          Skip changes detection and build all files.
 -o,--output <dir>       The name of apk that gets written. Default is dist/name.apk
 -p,--frame-path <dir>   Uses framework files located in <dir>.

For additional info, see: https://ibotpeaches.github.io/Apktool/ 
For smali/baksmali info, see: https://github.com/JesusFreke/smali

参考链接

  • 有关其他信息,请参阅:https://ibotpeaches.github.io/Apktool/
  • 有关 smali/baksmali 的信息,请参阅:https://github.com/JesusFreke/smali
© 版权声明
THE END
喜欢就支持一下吧
点赞1W+ 分享
評論 抢沙发

请登录后发表评论

    请登录后查看评论内容