题目:
寻找正确的输入
解题链接: http://ctf5.shiyanbar.com/423/re/reverse3.exe
在IDA中找到main函数F5一下:
int __cdecl main(int argc, const char **argv, const char **envp)
{
char v4; // [esp+14h] [ebp-34h]
char v5; // [esp+15h] [ebp-33h]
char v6; // [esp+16h] [ebp-32h]
char v7; // [esp+17h] [ebp-31h]
char v8; // [esp+18h] [ebp-30h]
char v9; // [esp+19h] [ebp-2Fh]
char v10; // [esp+1Ah] [ebp-2Eh]
char v11; // [esp+1Bh] [ebp-2Dh]
char v12; // [esp+1Ch] [ebp-2Ch]
char v13; // [esp+1Dh] [ebp-2Bh]
char v14; // [esp+1Eh] [ebp-2Ah]
char v15; // [esp+1Fh] [ebp-29h]
char v16; // [esp+20h] [ebp-28h]
int v17; // [esp+28h] [ebp-20h]
int v18; // [esp+2Ch] [ebp-1Ch]
int v19; // [esp+3Ch] [ebp-Ch]
__main();
v17 = 0;
memset(&v18, 0, 0x10u);
memset(&v4, 0, 0x14u);
v4 = -26;