Wargame/Bandit
Bandit Level 30 → Level 31
startonebyone
2022. 4. 7. 01:42
Level Goal
ssh://bandit30-git@localhost/home/bandit30-git/repo에 깃 저장소가 있습니다.
bandit30-git 사용자에 대한 패스워드는 bandit30 사용자와 같습니다.
저장소를 클론하고 다음 레벨을 위한 패스워드를 찾아보세요.
Commands you may need to solve this level
git
Answer
$ ls -al
$ mkdir /tmp/mydir7
$ cd /tmp/mydir7
$ git clone ssh://bandit30-git@localhost/home/bandit30-git/repo
$ ls -al
$ cd repo
$ cat README.md
$ git branch -a
$ git show-ref
//branch에서 보이지 않던 secret파일 확인
$ git show secret or $ git show secret의 주소
// 비밀번호 획득
bandit31 password : 47e603bb428404d265f59c42920d81e5