Press "Enter" to skip to content

[CSAW2017] – tablEZ

Solution

The first step is to decompile the given binary.

Main

 

Main_asm

get_tbl_entry

byte_201281

After have some analysis we know:
1. The program will based on the input to perform table lookup
2. The table format are 00 xx 01 xx 02 xx 03 xx
3. The main encrypt function are get_tbl_entry

So, based on this information, we can write the code to get the flag.

Output:

flag{t4ble_l00kups_ar3_b3tter_f0r_m3}

Comments

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *