CTF | wargame

nullcon17 / Misc 1 (숨겨진 flag찾기, script 난독화 언어)

nopdata 2017. 3. 10. 15:34
date : `17.02


You are given some old and new programs to try. The plain-text key is hidden inside these programs.

제공되는 파일은 txt파일인데 소스코드와 특정 데이터가 섞여있다. IHDR이 있는 것으로 보아 사진도 있는 것처럼 보이지만 \x00이 있어야할 부분에 \x20이 저장되어 파싱이 불가능 하다. 마지막 부분에 보면 script로 출력하면 바로 flag가 나오는 데이터가 있으며 그 내용을 출력 해주면 된다.



flag : flag{flags_are_useless_in_real_world}