Skip to content

Level 31

Level 31


  1. SSH to bandit30
  2. Clone the repo

Objective 1

  • Username: bandit30
  • Password: 5b90576bedb2cc04c86a9e924ce42faf
  • Port: 2220
  • IP/Hostname:
user@localhost:~$ ssh -p 2220


Objective 2

Create a working directory in /tmp.

Clone the ssh://bandit30-git@localhost/home/bandit30-git/repo repo they give us and use the same password.

bandit30@bandit:/tmp/dirwalk$ git clone ssh://bandit30-git@localhost/home/bandit30-git/repo
bandit30@bandit:/tmp/dirwalk$ ls repo/
bandit30@bandit:/tmp/dirwalk$ cat repo/ 
just an epmty file... muahaha

Not a whole lot there, so let's keep looking.

No extra branches or no extra commits, seems pretty empty.

How about git tags?

bandit30@bandit:/tmp/dirwalk$ git tag
bandit30@bandit:/tmp/dirwalk$ git show secret

Last update: September 28, 2022 07:59:55