这是一个reverse题目,你做吧

Creado el: 8 de agosto de 2026

Respondido usando GPT-5.6 Thinking por Chat01

Pregunta

reverse_1.exe

这是一个reverse题目,你做吧

Pensamiento

Inspected binary data and string constants

Worked for 28s

Respuesta

做出来了。

flag:

text
{hell0_w0rld}

关键逻辑在 0x1400118c0 附近:

  1. 程序原始保存的字符串是:
    text
    {hello_world}
  2. 循环检查每个字符:
    asm
    cmp eax, 0x6f ; 'o' jne ... mov byte ptr [...], 0x30 ; 改成 '0'
    所以字符串被修改成:
    text
    {hell0_w0rld}
  3. 接着用 %20s 读取输入,然后:
    c
    strncmp(input, "{hell0_w0rld}", strlen("{hell0_w0rld}"))
  4. 相等就输出:
    text
    this is the right flag!

顺带一提,这题还有个小瑕疵:因为用的是 strncmp(..., 13),所以理论上只要前 13 个字符{hell0_w0rld} 就能通过,后面再跟字符也可以。

Compartir este Q&A