Skip to content

Bandit Level 30

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://bandit29-git@bandit.labs.overthewire.org/home/bandit29-git/repo via the port 2220. The password for the user bandit29-git is the same as for the user bandit29.

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 bandit29, find the password for bandit30.

What this level teaches

Git branches, and how to see work that is not on the default branch.

Key ideas

  • Branches are named, movable pointers to lines of development. A clone checks out only the default branch at first.
  • Remote branches. git branch -a lists local and remote branches; git checkout switches to one.
  • Log per branch. git log shows only the history reachable from the branch you are on.

How to approach it

  1. After cloning, read the files and log, then ask what else could exist.
  2. List all branches, including remote ones, and look through each.
  3. Read files in any branch that looks like a work in progress.

Why it matters

Development, feature and release branches often hold unreleased code or leftover secrets, and reviewers must check them all.