随笔

记录:简单破解一款安卓软件

2018-10-31  本文已影响1人  jiaming_
下载apktool工具

从官方渠道下载→官方下载

$ apktool d test.apk
I: Using Apktool 2.3.4 on test.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: 1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
$ apktool b test
I: Using Apktool 2.3.4 on test
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
I: Copying unknown files/dir...

主要用到这两个命令。

应用市场摘取一枚apk

此处简单以youdaonote.apk为例

 - apktool b test

后记

这里只是简单的记录下破解手段,因为自家app也被破解了,必须得知己知彼。
破解软件不安全,用不得,此处仅供学习。

# 反编译
apktool d app-release.apk -o outdir 

# 回编译(生成的apk默认放在outdir/dist目录中)
apktool b outdir
上一篇 下一篇

猜你喜欢

热点阅读