All levels

Bandit · Level 28

Level 28

Login

SSH: ssh [email protected] -p 2220

Challenge URL: https://overthewire.org/wargames/bandit/bandit29.html

Task

There is a git repository at ssh://bandit28-git@localhost/home/bandit28-git/repo via the port 2220. The password for the user bandit28-git is the same as for the user bandit28. Clone the repository and find the password for the next level.

Solution

Clone the repo and go inside. See the git log:

git log

Go to a commit using:

git checkout commit_hash
git show

Or in a single line:

git show commit_hash