https://dreamhack.io/wargame/challenges/359 로그인 | Dreamhack dreamhack.io0. 보호기법 확인NX bit와 Canary가 켜져있음을 확인할 수 있다.1. 소스코드 확인#include #include #include #include void giveshell() { execve("/bin/sh", 0, 0); }void init() { setvbuf(stdin, 0, 2, 0); setvbuf(stdout, 0, 2, 0);}void read_bytes(char *buf, int size) { int i; for (i = 0; i giveshell함수를 이용하여 쉘을 얻는 것임을 추측해볼 수 있다.read_bytes함수는 8바이트씩 읽어옴을 알 ..