Level Goal
The password for the next level is stored in a file readme in the homedirectory. Unfortunately, someone has modified .bashrc to log you out when you log in with SSH.
비밀번호는 홈 디렉토리에 있는 readme 파일에 저장되어 있다. 불행하게도, 누군가가 당신이 ssh로 로그인 할 때 당신을 로그아웃하도록 .bashrc를 수정했다
Code
kjs@virtualbox:~$ ssh bandit18@bandit.labs.overthewire.org -p 2220 'cat readme'
This is a OverTheWire game server. More information on http://www.overthewire.org/wargames
bandit18@bandit.labs.overthewire.org's password:
# 비밀번호
문제에서 사용할 명령어가 ssh였기 때문에 ssh 관련하여 구글링 하였다. 접속할 때 명령어를 입력하면 원격으로 명령어를 실행한다
+) 참고1 참고2
#ssh
'wargame > bandit' 카테고리의 다른 글
Level 20 → Level 21 (0) | 2019.02.28 |
---|---|
Level 19 → Level 20 (0) | 2019.02.24 |
Level 17 → Level 18 (0) | 2019.02.24 |
Level 16 → Level 17 (0) | 2019.02.24 |
Level 15 → Level 16 (0) | 2019.02.20 |