format2.c #include #include #include #include int target; void vuln() { char buffer[512]; fgets(buffer, sizeof(buffer), stdin); printf(buffer); if(target == 64) { printf("you have modified the target :)\n"); } else { printf("target is %d :(\n", target); } } int main(int argc, char **argv) { vuln(); } 출처: http://liveoverflow.com/binary_hacking/protostar/format2.html 1. 문제해결 및 분석 1-1. target 확인 ta..