Bandit Level 28
Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.
Level Goal¶
There is a git repository at ssh://bandit27-git@bandit.labs.overthewire.org/home/bandit27-git/repo via the port 2220. The password for the user bandit27-git is the same as for the user bandit27.
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.
Commands you may need to solve this level¶
git
Helpful Reading Material¶
Study guide¶
Level map: using the password for bandit27, find the password for bandit28.
What this level teaches¶
The basic Git workflow: cloning a remote repository over SSH.
Key ideas¶
- Repository. A folder whose history of changes is stored in a hidden
.gitdirectory. git clone URLcopies the repository to your machine. SSH URLs have the formssh://user@host:PORT/path; note that the port goes in the URL.- Work locally. The Level Goal asks you to do this on your own machine, so install Git there first.
How to approach it¶
- Clone using the URL given, supplying the password when asked.
- Read the files in the working tree, starting with a README if present.
Why it matters¶
Git is the foundation of modern software development, and every remaining Bandit level is a lesson in how it stores history.