본문 바로가기

Wargame

(50)
[ Docker ] Bandit Wargame 만들기 - 8번 문제 ( 10 / 33 ) 1. Bandit8 목표The password for the next level is stored in the file data.txt and is the only line of text that occurs only onceCommands you may need to solve this levelgrep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd 2. Bandit8 구현# 문제의 파일이 크기 때문에 해당 파일을 첨부하였다.# Bandit의 경우 관리자가 주기적으로 비밀번호를 변경하고 있다.# 하여 해당 파일을 다운로드 하는 방법만 설명하고 첨부된 파일 링크를 통해 구현을 진행하면 된다.# 비밀번호 dfwvzFQi4mU0wfNbFOe9RoWskML..
[ Docker ] Bandit Wargame 만들기 - 7번 문제 ( 9 / 33 ) 1. Bandit7 목표The password for the next level is stored in the file data.txt next to the word millionthCommands you may need to solve this levelman, grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd 2. Bandit7 구현# 문제의 파일이 크기 때문에 해당 파일을 첨부하였다.# Bandit의 경우 관리자가 주기적으로 비밀번호를 변경하고 있다.# 하여 해당 파일을 다운로드 하는 방법만 설명하고 첨부된 파일 링크를 통해 구현을 진행하면 된다.# 비밀번호 morbNTDkSW6jIlUc0ymOdMaLnOlFVAaj 입력 접속(비밀번호 변경..
[ Docker ] Bandit Wargame 만들기 - 6번 문제 ( 8 / 33 ) 1. Bandit6 목표The password for the next level is stored somewhere on the server and has all of the following properties:owned by user bandit7owned by group bandit633 bytes in sizeCommands you may need to solve this levells , cd , cat , file , du , find , grep 2. Bandit6 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2220chown -R root:root /home/bandit6/.[!.]*mkdir -p /var/lib..
[ Docker ] Bandit Wargame 만들기 - 5번 문제 ( 7 / 33 ) 1. Bandit5 목표The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:human-readable1033 bytes in sizenot executableCommands you may need to solve this levells , cd , cat , file , du , find 2. Bandit5 구현# 문제에 더미 파일들이 많기 때문에 해당 파일을 압축파일로 가져올 필요가 있다.# Bandit의 경우 관리자가 주기적으로 비밀번호를 변경하고 있다.# 하여 압축파일로 가져오는 방법만 설명하고 첨부한 링크를 통해 구현을 ..
[ Docker ] Bandit Wargame 만들기 - 4번 문제 ( 6 / 33 ) 1. Bandit4 목표The password for the next level is stored in the only human-readable file in the inhere directory.Tip: if your terminal is messed up, try the “reset” command.Commands you may need to solve this levells , cd , cat , file , du , find 2. Bandit4 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2220chown -R root:root /home/bandit4/.[!.]*mkdir /home/bandit4/inhereecho ..
[ Docker ] Bandit Wargame 만들기 - 3번 문제 ( 5 / 33 ) 1. Bandit3 목표The password for the next level is stored in a hidden file in the inhere directory.Commands you may need to solve this levells , cd , cat , file , du , find 2. Bandit3 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2220chown -R root:root /home/bandit3/.[!.]*mkdir /home/bandit3/inhereecho pIwrPrtPN36QITSp3EQaw936yaFoFgAB > /home/bandit3/inhere/.hiddenuseradd band..
[ Docker ] Bandit Wargame 만들기 - 2번 문제 ( 4 / 33 ) 1. Bandit2 목표The password for the next level is stored in a file called spaces in this filename located in the home directoryCommands you may need to solve this levells , cd , cat , file , du , find 2. Bandit2 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2220chown -R root:root /home/bandit2/.[!.]*echo UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK > /home/bandit2/"spaces in this filenam..
[ Docker ] Bandit Wargame 만들기 - 1번 문제 ( 3 / 33 ) 1. Bandit1 목표The password for the next level is stored in a file called - located in the home directoryCommands you may need to solve this levells , cd , cat , file , du , find 2. Bandit1 구현# 비밀번호 root 입력 접속ssh -oStrictHostKeyChecking=no root@localhost -p 2220chown -R root:root /home/bandit1/.[!.]*echo CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9 > /home/bandit1/-# bandit2 유저를 생성하여 준다.useradd bandit2 && ech..