본문 바로가기

정보보안/Wargame(Bandit)

Bandit Level 31 → Level 32

There is a git repository at ssh://bandit31-git@localhost/home/bandit31-git/repo. 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.

 

또...? ㅋㅋㅋㅋㅋㅋ 뭔가 이대로 끝까지 갈 것 같은 느낌,,,

clone 해 주고 README.md를 열어보면

이번에는 원격 리포지토리에 push 하라고 한다. 해도 되는건가?

하란 대로 key.txt 파일을 만들고 내용은 May I come in? 으로 해준 후,

add 하고 commit 한다음 push 해준다.

그런데 .gitignore에 key.txt가 포함되어 있어 add가 안되는데, -f 붙여서 무시하고 add하자.

그리고 commit 해주고 push 해주면, 비밀번호가 나온다.

'정보보안 > Wargame(Bandit)' 카테고리의 다른 글

Bandit Level 33 → Level 34 (完)  (0) 2021.12.19
Bandit Level 32 → Level 33  (0) 2021.12.19
Bandit Level 30 → Level 31  (0) 2021.12.19
Bandit Level 29 → Level 30  (0) 2021.12.19
Bandit Level 29 → Level 30  (0) 2021.12.19