ctf운영

·환경구축 & Tip
1. socat을 이용한 문제 구성[필요한 파일]1 - 문제파일(바이너리, *.py등)2 - Dockerfile, docker-compose.yml3 - README.md 1-1. socat이란?:다목적 소켓 터널링을 위한 유명한 유닉스 소켓 프로그램  (socat 설치)apt-get install socat  1-2. 문제파일 준비(1) 입출력이 가능한 문제파일을 작성ex) test.c# test.c#include #include #define FLAG "RD{welldone_you_found_the_flag}"void check_input(char *input) { if (strcmp(input, "1234") == 0) { printf("%s", FLAG); printf("..
Greedun (lr-x-dl)
'ctf운영' 태그의 글 목록