easyRE1 攻防世界逆向1

下载下来就是rar文件,解压看到文件

这里可以用ida64位打开,找到main,f5一下看伪代码。看一眼就知道flag了。

分析一下代码:

#include <stdio.h>
#include <string.h>

int main() {
    char s1[100];
    printf("请输入密码: ");
    scanf("%s", s1);

    if ( !strcmp(s1, "the password") )
        puts("FLAG:db2f62a36a018bce28e46d976e3f9864");
    else
        puts("Wrong!!");

    return 0;
}

整理有这些,用c写的。
大概意思就是这。
这题不用看代码。还好。

posted @ 2025-04-13 14:36  欧派派  阅读(28)  评论(0)    收藏  举报