NEKO

实验吧Reverse

2017/12/11

smali文件分析

题目链接:http://www.shiyanbar.com/ctf/1871
apk逆向工具包:链接:https://pan.baidu.com/s/1bp2Njtl 密码:2ew9
apk逆向基础操作:http://blog.csdn.net/vipzjyno1/article/details/21039349/
将Hello.dex移动到dex2har-2.0中,cmd转到当前文件夹,执行

1
d2j-dex2jar.bat Hello.dex

生成文件Hello-dex2jar.jar
将Hello-dex2jar.jar拖动到jd-gui.exe即可看到源码

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.io.PrintStream;

public class Hello
{
public static void main(String[] paramArrayOfString)
{
paramArrayOfString = new Hello();
System.out.println(paramArrayOfString.foo(5, 3));
}

public int foo(int paramInt1, int paramInt2)
{
return (paramInt1 + paramInt2) * (paramInt1 - paramInt2);
}
}

原文作者: n3k0

发表日期: December 11th 2017, 8:50:18

发出嘶吼: 没有魔夜2玩我要死了

CATALOG
  1. 1. smali文件分析