Bandit Level 28 → Level 29Wargame/Bandit2022. 4. 4. 00:17
Table of Contents
Level Goal
ssh://bandit28-git@localhost/home/bandit28-git/repo에서 깃 저장소가 있습니다.
bandit28-git 사용자에 대한 패스워드는 bandit28 사용자와 같습니다.
저장소를 클론하고 다음 레벨을 위한 패스워드를 찾아보세요.
Commands you may need to solve this level
git
Answer
$ ls -al
$ mkdir /tmp/mydir
$ cd /tmp/mydir
$ git clone ssh://bandit28-git@localhost/home/bandit28-git/repo
// 저장소를 클론한다.
$ ls -al
$ cd repo
$ ls -al
$ cat README.md
$ cd .git
$ git log
// git log 명령어는 각 커밋에 대한 로그를 볼 수 있습니다. 이 명령어는 .git 폴더에서 실행해야 합니다.
$ git show edd935d60906b33f0619605abd1689808ccdd5ee
// git show 를 이용하여 commit의 코드를 입력하면 해당 커밋에서 변경 사항을 확인할 수 있습니다.
bandit29 password : bbc96594b4e001778eee9975372716b2
'Wargame > Bandit' 카테고리의 다른 글
Bandit Level 30 → Level 31 (0) | 2022.04.07 |
---|---|
Bandit Level 29 → Level 30 (0) | 2022.04.07 |
Bandit Level 27 → Level 28 (0) | 2022.04.03 |
Bandit Level 26 → Level 27 (0) | 2022.03.20 |
Bandit Level 25 → Level 26 (0) | 2022.03.20 |
@startonebyone :: 계속 로딩중
로딩중.....(버퍼링)
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!