Bandit Level 29 → Level 30

Clone the repo:
git clone ssh://bandit29-git@localhost:2220/home/bandit29-git/repo
<Password>
lsls -la repocat repo/README.md
The same as the last challenge.
git log | grep ^commit | cut -d ' ' -f 2 | xargs git show
There is nothing in the commits as well.
But we also have branches:
Git branch is a parallel line of development that allows you to work on features or fixes independently.
Lets check for the available branches:
git branch -r
We have dev which seems interesting.
Switch the branch:
Git checkout switches branches or restores files from a specific commit in a Git repository.
git checkout dev
Git log again:
git log | grep ^commit | cut -d ' ' -f 2 | xargs git show
Here we got the password.
Last updated