clone

Welcome to make-git-better CTF ๐Ÿšฉ

make-git-better-ctf-logo

Notes for beginners

๐Ÿงฑ CTF structure

This CTF, like most other CTFs, is separated into levels. You start at the “clone” level (where you are right now), and try to finish it. When you’ll finish a level, you will get some information about how to start the next one!

The pages on this website for the different levels can be accessed via the level graph browser:

The level browser

Try it out!

Each page will contain information about that stage, and also some hints. All levels in this game have a page on this website, and they are all linked to from the level graph browser.

๐Ÿค” Unsure what to do?

There are several things you can try when you are unsure how to continue:

โ–ถ I am ready to play

This is the first level of the challenge. The goal of this level is for you to log into the game server using SSH and clone the game repository.

Connect to the game server

The host to which you need to connect is ctf.mrnice.dev, on port 12345. The username is player and the password is player. So:

ssh player@ctf.mrnice.dev -p 12345

Clone the repository

You need to clone a repository using ssh, as well. The server is localhost, the user is gamemaster, and the repository’s path on the server is ~/ctf-repo. So that means you need to run the following command:

git clone gamemaster@localhost:~/ctf-repo

Once you’ve done this, run

cd ctf-repo

to change the working directory to the cloned repository. You should see some changes in your shell (like master on the left side). It should look something like this:

Clone level screenshot

Finally, read the README.md file to see what you need to do to get to the next level: start-here.

Good luck!

๐Ÿงฉ Hints

Click on hints to reveal them.

ssh? How to use SSH on WikiHow.
clone? Here’s some documentation about cloning. If you’re new to git, you really should read this!
What’s on the game server The game server is set up with quite a lot of programs: see the CTF intro page for more details.
How do I read a file? Run cat README.md. Here’s information about cat.

Attribution1


  1. These notes were adapted from OverTheWire Bandit Intro Page. [return]