当前位置:网站首页>移动安全工具-apktool

移动安全工具-apktool

2022-06-24 20:06:00 深度安全实验室

1 需求

  • 获取smali/dex:默认获取smali,-s后,获取dex
    • -s,--no-src             Do not decode sources.
  • xx
    • -r,--no-res             Do not decode resources.
  • 输出到指定目录
    • -o,--output <dir>       The name of folder that gets written. Default is apk.out

官网地址:

https://github.com/iBotPeaches/Apktool


2 语法

D:\>java -jar apktool.jar
Apktool v2.6.1 - a tool for reengineering Android apk files
with smali v2.5.2 and baksmali v2.5.2
Copyright 2010 Ryszard Wi?niewski <[email protected]>
Copyright 2010 Connor Tumbleson <[email protected]>

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

3 示例


4 参考资料

原网站

版权声明
本文为[深度安全实验室]所创,转载请带上原文链接,感谢
https://blog.csdn.net/pwp032984/article/details/125438943