[Bandit] Level 29 → Level 30

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

[War Game]Bandit

목록 보기
31/34

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

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

Sol)
Git을 받아서 repo 디렉토리에서 확인해보면 'README.md'파일이 있다. 출력해보면

라고 한다. 이번엔 log를 확인해도 없으니 branch를 확인해 본다.

branch가 있는게 수상하다. 먼저 'dev' branch로 변경해본다.

그리고 'README.md'파일을 출력해보니 비밀번호가 있었다.

다른 branch도 확인을 해봤는데 여기 밖에 없는 듯 하다.

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

0개의 댓글