Wargame/Bandit
Bandit Level 27 → Level 28
startonebyone
2022. 4. 3. 08:54
Level Goal
ssh://bandit27-git@localhost/home/bandit27-git/repo에 깃 저장소가 있습니다.
bandit27-git 사용자에 대한 패스워드는 bandit27 사용자와 동일합니다.
저장소를 클론하고 다음 레벨을 위한 패스워드를 발견하세요.
Commands you may need to solve this level
git
Answer
$ ls -l
$ mkdir /tmp/myclone
$ cd ./tmp/myclone
$ ls -al
// 현재 폴더의 사용자가 bandit27임을 확인
$ git clone ssh://bandit27-git@localhost/home/bandit27-git/repo
// bandit27의 비밀번호 입력
$ ls -al
$ cat README
bandit28 password : 0ef186ac70e04ea33b4c1853d2526fa2