BanditOverTheWire

Bandit28

Website URL: http://overthewire.org/wargames/bandit/bandit28.html

Let’s log into the server as bandit27

Fig. 1

The task is as follows:

There is a git repository at ssh://bandit27-git@localhost/home/bandit27-git/repo. The password for the user bandit27-git is the same as for the user bandit27.
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
Fig. 2

Now for cloning the repository using the password of bandit27 i.e. 3ba3118a22e93127a4ed485be72ef5ea

git clone ssh://bandit27-git@localhost/home/bandit27-git/repo
Fig. 3

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
Fig. 4

Mission accomplished!

Leave a Reply

Your email address will not be published. Required fields are marked *