Dive!
ファイル image.tar
が与えられた。
7-Zip で開くと、中に何個かtarファイルが入っているようだった。
tarだけで圧縮はされていないようだったので、strings
コマンドをかけ、結果からテキストエディタで「ctf」を検索すると、以下の部分が見つかった。
A file image.tar
was given.
Seeing what are in via 7-Zip, I found that there are several tar files in the file.
Finding that the files don't seem compressed, I applied strings
command and searched for "ctf" from the result via a text editor, finding this part:
cpctf/flag.txt
0100644
0000000
0000000
00000000050
14233252574
012020
ustar
0000000
0000000
Q1BDVEZ7ZDF2M18xbjcwX2QwY2szcl8xbTQ2M30=
この部分の最後にCyberChefで From Base64 をかけると、flagが得られた。
I applied "From Base64" on CyberChef to the last part of this data to obtain the flag.
From Base64 - CyberChef
CPCTF{d1v3_1n70_d0ck3r_1m463}
writeup by MikeCAT
CPCTF22