-
[Bandit] Level 19Wargame/Bandit 2022. 9. 1. 12:28반응형
Level 17의 마지막 문장에서
NOTE: if you have solved this level and see ‘Byebye!’ when trying to log into bandit18, this is related to the next level, bandit19
라는 말이 있다.
Level 19로 가기 위해서는 Level 17부터 이어지는 이 문제를 풀어야 한다.
ssh로 Level 18을 접속하면 곧바로 접속이 종료되는 것을 알 수 있다.
ssh -h 명령어로 ssh의 사용법을 보면 그 중 ssh user@hostname [command] 가 있다.
이것을 이용해 Level 18의 home directory의 readme 파일을 바로 읽는 cat 명령어를 수행한다.

<cat 명령어로 나타난 Level 19의 비밀번호> 그 결과 Level 19의 비밀번호가 나타났다.
반응형'Wargame > Bandit' 카테고리의 다른 글
[Bandit] Level 21 (0) 2022.09.06 [Bandit] Level 20 (0) 2022.09.05 [Bandit] Level 18 (0) 2022.09.01 [Bandit] Level 17 (1) 2022.09.01 [Bandit] Level 16 (0) 2022.08.30