Offensive and defensive world EasyRe
After checking the unpacking information, throw it into ida32, press shift+F12 and find that there is a flag in the first line, but it is not correct, and there is a right\n
So it can be judged that the real flag is near this instruction, so check the pseudo code
After seeing this, it is easy to reverse the flag, the code is as follows:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main()
{
const char* tar = "xIrCj~<r|2tWsv3PtIzndka";
char flag[25] = {
0};
for (int i = 0; i < 24; i++)
{
flag[i] = tar[23 - i] ^ 0x6;
flag[i]--;
}
printf("%s",flag);
}