需要配置安卓工具
Android Killer配置
Android Killer不再更新,需要自行修改配置来反编译一些高版本,比如本题
安装到雷电模拟器
放入Android Killer反编译
没有显示代码
点击查看Java代码
打开Main Activity找到关键代码
if (i == 1){paramView = "dd2940c04462b4dd7c450528835cca15".toCharArray();paramView[2] = ((char)(char)(paramView[2] + paramView[3] - 50));paramView[4] = ((char)(char)(paramView[2] + paramView[5] - 48));paramView[30] = ((char)(char)(paramView[31] + paramView[9] - 48));paramView[14] = ((char)(char)(paramView[27] + paramView[28] - 97));i = 0;if (i >= 16){paramView = String.valueOf(paramView);this.val$textview.setText("flag{" + paramView + "}");}}for (;;){return;int j = paramView[(31 - i)];paramView[(31 - i)] = ((char)paramView[i]);paramView[i] = ((char)j);i++;break;this.val$textview.setText("��������������");}}
关键部分代码
仿写输出就是flag
#include<iostream>
using namespace std; int main(){char data[]="dd2940c04462b4dd7c450528835cca15";data[2] = data[2] + data[3] - 50;data[4] = data[2] + data[5] - 48;data[30] = data[31] + data[9] - 48;data[14] = data[27] + data[28] - 97;for(int i=0;i<=16;i++){char j = data[31 - i];data[31 - i] = data[i];data[i] = j;}printf("flag{%s}",data);
}
flag{59acc538825054c7de4b26440c0999dd}