오랜만에 포너블 문제를 풀어보았다.https://dreamhack.io/wargame/challenges/1111 bofDescription Buffer overflow is one of the basics of pwnable 🐱 The path of the flag file is /home/bof/flag.dreamhack.io버퍼 오버플로우 문제파일을 다운받고 디렉토리 구조와 코드를 살펴보자.문제 설명과 같이 보면 시스템 디렉토리의 flag 파일을 통해 플래그를 알아내야 하는 듯 하다.코드에서 main 함수와 read_cat 함수를 살펴보자.mainint __cdecl main(int argc, const char **argv, const char **envp){ char v4[128]; // [..