
리눅스 명령어에 대해 공부하고 싶어서 찾다보니 재밌게 게임을 통해 할 수 있다는 사이트를 찾았다.
리눅스 운영체제를 CTF 문제를 통해 쉽게 익히도록 도와주는 OverTheWire의 Bandit 문제들을 풀어보려고 한다.
Bandit Level 0
Level Goal
The goal of this level is for you to log into the game using SSH.
The host to which you need to connect is bandit.labs.overthewire.org, on port 2220.
The username is bandit0 and the password is bandit0.
Once logged in, go to the Level 1 page to find out how to beat Level 1.
도메인과 포트
도메인 : bandit.labs.overthewire.org
포트 : 2220
ssh 명령어 사용
ssh [user_name]@[domain] -p[port_number]
➡️ ssh bandit0@bandit.labs.overthewire.org -p2220
ls 명령어로 디렉토리 확인
readme
cat 명령어로 실행
cat readme
NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL
bandit1 : NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL