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.
Commands you may need to solve this level
ssh, ls, cat
1. 접속
bandit17@bandit:/home/bandit18$ ls
readme
bandit17@bandit:/home/bandit18$ ssh -t bandit18@localhost cat readme
bandit18@localhost's password:
IueksS7Ubh8G3DCwVzrTd8rAVOwq3M5x
Connection to localhost closed.
bandit18의 홈에 readme 파일이 존재한다. -t 옵션으로 접속 시도를 하여 readme 의 응답값을 읽어온다
2. bandit18 암호
IueksS7Ubh8G3DCwVzrTd8rAVOwq3M5x