[Bandit] Level 27 → Level 28

우주먼지·2024년 4월 30일
0

[War Game]Bandit

목록 보기
29/34

Bandit Level 27 → Level 28
Level Goal
There is a git repository at ssh://bandit27-git@localhost/home/bandit27-git/repo via the port 2220. The password for the user bandit27-git is the same as for the user bandit27.

Clone the repository and find the password for the next level.

Sol)
이번엔 git의 저장소를 Clone하여 열기만 하면 된다.
'git clone'명령어로 주소와 포트를 입력하고 받으면 끝.
하지만 권한 문제로 '/tmp'에 디렉토리를 따로 만들어서 작업한다.

Clone 이후 현재 디렉토리 위치에 'repo'디렉토리가 생성되고 안에 'README'파일을 출력하면 비밀번호가 나온다.

profile
오늘보다 내일 더 문제가 많았으면 좋겠다.

0개의 댓글