id : gremlinpw : hello bof world ๋จผ์ ์์ค์ฝ๋๋ฅผ ๋ณด๊ฒ ์ต๋๋ค.[gremlin@localhost gremlin]$ cat cobolt.c /* The Lord of the BOF : The Fellowship of the BOF - cobolt - small buffer */ int main(int argc, char *argv[]) { char buffer[16]; if(argc < 2){ printf("argv error\n"); exit(0); } strcpy(buffer, argv[1]); printf("%s\n", buffer); } gate์ ๋ฌ๋ผ์ง ์ ์ buffer์ ํฌ๊ธฐ๊ฐ 256์์ 16์ผ๋ก ์์ฒญ ์์์ก๋ค๋ ์ ์ ๋๋ค. bufffer๋ก ์ง์ ์ด๋ํ์ฌ ์คํ์ํค๊ธฐ๋ ํ๋ค..