Challenge Information
- Platform: OverTheWire (Bandit)
- Difficulty: Easy
- Category: Linux
Overview
There is a git repository at ssh://bandit30-git@bandit.labs.overthewire.org/home/bandit30-git/repo via the port 2220. The password for the user bandit30-git is the same as for the user bandit30.
From your local machine (not the OverTheWire machine!), clone the repository and find the password for the next level. This needs git installed locally on your machine.
Solution
Clone the repo
git clone ssh://bandit30-git@bandit.labs.overthewire.org:2220/home/bandit30-git/repo
In git we can mark commits with a tag. To see all tags run
git tag

We see that there is a tag named secret. Lets show the tag
git show secret

Lessons Learned
- Using git tags.
Tools Used
sshgit