Wargame (50) 썸네일형 리스트형 [ Docker ] Leviathan Wargame 만들기 - 6번 문제 ( 8 / 8 ) 1. Leviathan6 목표There is no information for this level, intentionally. 2. Leviathan6 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223chown root:root /home/leviathan6chmod 755 /home/leviathan6chown -R root:root /home/leviathan6/.[!.]*# leviathan7 유저를 생성하여 준다.useradd leviathan7 && echo -e "qEs5Io5yM8\nqEs5Io5yM8" | passwd leviathan7chown root:root /home/leviathan7chmod 755 .. [ Docker ] Leviathan Wargame 만들기 - 5번 문제 ( 7 / 8 ) 1. Leviathan5 목표There is no information for this level, intentionally. 2. Leviathan5 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223chown root:root /home/leviathan5chown -R root:root /home/leviathan5/.[!.]*chmod 755 /home/leviathan5# leviathan6 유저를 생성하여 준다.useradd leviathan6 && echo -e "szo7HDB88w\nszo7HDB88w" | passwd leviathan6cat /tmp/leviathan5.c#include #include #i.. [ Docker ] Leviathan Wargame 만들기 - 4번 문제 ( 6 / 8 ) 1. Leviathan4 목표There is no information for this level, intentionally. 2. Leviathan4 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223chown -R root:root /home/leviathan4/.[!.]*chmod 755 /home/leviathan4# leviathan5 유저를 생성하여 준다.useradd leviathan5 && echo -e "0dyxT7F4QD\n0dyxT7F4QD" | passwd leviathan5mkdir -p /home/leviathan4/.trashcat /tmp/bin.c#include #include int main(.. [ Docker ] Leviathan Wargame 만들기 - 3번 문제 ( 5 / 8 ) 1. Leviathan3 목표There is no information for this level, intentionally. 2. Leviathan3 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223chown -R root:root /home/leviathan3/.[!.]*chmod 755 /home/leviathan3# leviathan4 유저를 생성하여 준다.useradd leviathan4 && echo -e "WG1egElCvO\nWG1egElCvO" | passwd leviathan4cat /tmp/level3.c#include #include #include #include int main(int argc, c.. [ Docker ] Leviathan Wargame 만들기 - 2번 문제 ( 4 / 8 ) 1. Leviathan2 목표There is no information for this level, intentionally. 2. Leviathan2 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223chown -R root:root /home/leviathan2/.[!.]*chmod 755 /home/leviathan2# leviathan3 유저를 생성하여 준다.useradd leviathan3 && echo -e "f0n8h2iWLP\nf0n8h2iWLP" | passwd leviathan3cat /tmp/printfile.c#include #include #include #include int main(int argc.. [ Docker ] Leviathan Wargame 만들기 - 1번 문제 ( 3 / 8 ) 1. Leviathan1 목표There is no information for this level, intentionally.2. Leviathan1 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223chown -R root:root /home/leviathan1/.[!.]*chmod 755 /home/leviathan1# leviathan2 유저를 생성하여 준다.useradd leviathan2 && echo -e "NsN1HwFoyN\nNsN1HwFoyN" | passwd leviathan2cat /tmp/check.c#include #include #include #include #define MAX_LENGTH 3in.. [ Docker ] Leviathan Wargame 만들기 - 0번 문제 ( 2 / 8 ) 1. Leviathan0 목표There is no information for this level, intentionally.2. Leviathan0 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2223useradd leviathan0echo -e "leviathan0\nleviathan0" | passwd leviathan0# 현재 폴더에 대한 소유자 및 그룹이 leviathan0 일 경우# leviathan0로 접속한 유저가 홈 폴더에 파일을 생성할 수 있다.# 그렇기 때문에 홈 폴더 내부 모든 파일의 소유자 및 그룹을 root로 변경하여 준다.chown -R root:root /home/leviathan0/.[!.]*chm.. [ Docker ] Leviathan Wargame 만들기 ( 1 / 8 ) 워게임 중 하나인 Leviathan 문제를 직접 생성하는 방법을 기술한다Leviathan은 사용자가 ssh를 통하여 서버에 접속하여 문제의 힌트를 통해 다음 문제에 대한 정답을 찾아내어다음 문제로 접속하는 방식의 게임이다.사용자는 leviathan0 유저로 주어진 패스워드를 통해 접속하여 leviathan1 부터 순차적으로 leviathan2, leviathan3 등의 유저의패스워드를 구하여 다음 레벨로 진입한다.1. Leviathan 이미지 및 실행 파일 설치:: centos 이미지 확인:: [ https://hub.docker.com/ ] 에서 태그(버전) 확인docker search centos:: centos8 이미지 다운로드docker pull centos:8:: centos8 이미지 다운로드 .. 이전 1 2 3 4 5 ··· 7 다음