Skip to main content

bandit18

·65 words·1 min· loading
Table of Contents
bandit - This article is part of a series.
Part 14: This Article
ssh [email protected] -p 2220  
#hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg

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 파일을 읽으면 된다. 근데 누가 bashrc를 만져서, 접속하자마자 로그아웃된다

풀이
#

시작하자마자 연결이 끊긴다 ssh로 접속할때, 실행할 명령어를 같이 보내주면 된다.

ssh [email protected] -p 2220  'cat readme'
#hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg

#awhqfNnAbc1naukrpqDYcF95h7HoMTrC
bandit - This article is part of a series.
Part 14: This Article