BanditOverTheWire

Bandit32

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

Let’s log into the server as bandit31

Fig. 1

The task is as follows:

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

Another git based challenge! Let’s get on with it then.

mkdir /tmp/bandit32solving2018
cd /tmp/bandit32solving2018
git clone ssh://bandit31-git@localhost/home/bandit31-git/repo
ls
cd repo
ls
Fig. 2

Reading the README.md now…

cat README.md
Fig. 3

The task seems to be straightforward…Let’s get down to it.

echo "May I come in?" > key.txt
git add -f key.txt
Fig. 4

Now, to commit and push it to the remote.

git commit -m "Task"
git push

Mission accomplished!

Leave a Reply

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