Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 875 Bytes

Bandit_Level_30.md

File metadata and controls

18 lines (10 loc) · 875 Bytes

Bandit Level 30

In this level we are asked to clone a git repo with git clone ssh://bandit30-git@localhost:2220/home/bandit30-git/repo to find the password.

Looking in the README file we see that it is "just an empty file"

27727d44.png

Looking at git log we see that there are no previous versions of this file to look at.

f713b1d9.png

We can also run git branch to see that there are also no other branches.

There is one more object in git that we have yet to encounter in bandit, that being the git tag. A git tag is basically a name assigned to another object. These can be listed with git tag -l. Running this command shows us that there is a tag called secret. We can see what the tag points at by running git show.

git show secret

This reveals the password: OoffzGDlzhAlerFJ2cAiz1D41JW1Mhmt