fermat
ファイル fermat
が与えられた。
Ghidra で逆コンパイルすると、以下の print_flag
関数が見つかった。
A file fermat
was given.
Decompiling via Ghidra, I found this function print_flag
:
print_flag
このコードに基づき、CyberChef でデータを抽出してxor演算をすることで、flagが得られた。
Based on this code, I obtained the flag by extracting data and performing xor operation via CyberChef.
Find / Replace, 3 more - CyberChef
FLAG{you_need_a_lot_of_time_and_effort_to_solve_reversing_208b47bd66c2cd8}
writeup by MikeCAT
WaniCTF 2023