[Bandit] Level 31 → Level 32

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

[War Game]Bandit

목록 보기
33/34

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

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

Sol)
이전 문제와 같은 과정으로 'READMD.md'를 출력하면

'master' branch에 push하라고 한다. 혹시 몰라서 같이 있는 '.gitignore'파일을 출력해보니 '.txt'확장자를 무시하도록 되어있다.
그래서 없애버리고 'key.txt'파일에 문제에서 나온 'May I come in?'을 담아서 push 했다. (key.txt 파일 안에 문장은 따옴표로 감싸면 안된다)

그럼 바로 반응이 오고 비밀번호를 알려준다.

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

0개의 댓글