Bandit28
Website URL: http://overthewire.org/wargames/bandit/bandit28.html
Let’s log into the server as bandit27

The task is as follows:
There is a git repository at
ssh://bandit27-git@localhost/home/bandit27-git/repo
. The password for the userbandit27-git
is the same as for the userbandit27
.
Clone the repository and find the password for the next level.
The first step here would be to look at that git repo. We can do that by cloning the repo into a local working directory. Let’s setup the directory.
mkdir /tmp/bandit28solving2018
cd /tmp/bandit28solving2018

Now for cloning the repository using the password of bandit27 i.e. 3ba3118a22e93127a4ed485be72ef5ea
git clone ssh://bandit27-git@localhost/home/bandit27-git/repo

The repository has been copied to the repo directory. So, all that’s left to do is to go inside and get the password.
cd repo
cat README
Mission accomplished!