babypwn


Solution

Just a simple and easy pwn challenge.

Given a C source code.

The program wants us to input a name. Line 41 shows that if (name.check == 0x41414141) is true, it will reveal a flag. So basically we need to input 0x41414141, but the function at line 5 says that it has a 32 size of buffer. We need to fill up the buffer first, than put 0x41414141, combine them as one payload as the script below.


Flag

wctf{pwn_1s_th3_best_Categ0ry!}

Last updated