首先,这只是最初步的Android逆向,没有逆向so文件,有没有什么内存寻址啊之类的高级技术。我就是想告诉小白,可以用这种办法看看Apk的部分代码。
毕竟Mac上国内的免费工具比Windows上少很多
一共3个工具,Apktool,dex2jar,JD-GUI.作用分别是,
Apktool:解析apk包,获取资源文件和smail代码
dex2jar:逆向class.dex文件,得到jar包
JD-GUI:查看jar包文件里的java代码
1.安装APKTOOL
我知道有人不爱看网站上的英文,你们太懒了
不着急,还要一个启动文件----
代码如下
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.