티스토리 뷰

Wargame/Bandit

Bandit Level 0 → Level 1

장일영 2024. 5. 16. 11:38

Goal

The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.

다음 레벨로 가는 패스워드는 home 디렉토리의 readme 파일에 위치해 있다. 이 패스워드를 이용해 bandit1으로 로그인 해라. 레벨의 패스워드를 찾을 때마다 SSH를 사용해(2220 포트) 해당 레벨에 로그인하여 게임을 이어갈 수 있다.

 

Commands you may need to solve this level

`ls` , `cd` , `cat` , `file` , `du` , `find`

 

 

Write Up

host와 port가 노출되어 있음.
bandit0 계정으로 로그인 후 `readme` 파일을 읽어서 패스워드를 얻을 수 있다.
ssh 포트가 열려 있는 경우 별다른 조치를 하지 않았을 때 sftp 포트 역시 열려 있으므로 `readme` 파일을 외부로 다운로드할 수 있다.

'Wargame > Bandit' 카테고리의 다른 글

Bandit Level 5 → Level 6  (0) 2024.05.16
Bandit Level 4 → Level 5  (0) 2024.05.16
Bandit Level 3 → Level 4  (0) 2024.05.16
Bandit Level 2 → Level 3  (0) 2024.05.16
Bandit Level 1 → Level 2  (0) 2024.05.16
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2026/06   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함