BUUCTF-RE-简单注册器

一、

apk文件  用jeb分析

二、JEB分析

 

 反编译

 

 脚本如下:

#include <stdio.h>
#include <string.h>
int main(void)
{
    int v9 = 2;
        int v11 = 31;
        char v5[] = "dd2940c04462b4dd7c450528835cca15";
        char v0[] = "";
        v5[v9] = v5[v9] + v5[3] - 50;
        v5[4] = v5[v9] + v5[5]- 48;
        v5[30] = v5[v11] + v5[9] - 48;
        v5[14] = v5[27] + v5[28] - 97;
        int v4;
        for (v4 = 0; v4 < 16; ++v4) {
            char v0 = v5[31 - v4];
            v5[31 - v4] = v5[v4];
            v5[v4] = v0;
        }
    printf("flag{%s}", v5);
    return 0;
}

 

二、flag

flag{59acc538825054c7de4b26440c0999dd}

posted @ 2020-04-15 16:04  Nicky_啦啦啦是阿落啊  阅读(411)  评论(0编辑  收藏  举报