Reference no: EM132671575
(1) Setup environment (needed for the rest of the course)
Choose one of the following options
(docker recommended over VirtualBox)
(a) Setup environment in Docker. (suggest for *NIX)
How to install Docker on your computer/laptop:
After installing Docker, download docker.tar.gz *
Start a terminal in download directory,
then run follow commands in command line:
1. decompress the file(tar install needed, otherwise you may also use other tool to decompress):
tar zxvf docker.tar.gz && cd docker/
2. build a docker image from Dockerfile: sudo docker build -t name_of_your_docker .
3. run a docker container from docker image: sudo docker run -it name_of_your_docker bash
Now you are in docker container.
(2) Capture the flag
Note, only available in Docker
After successfully getting into your docker container, you can start to find the bonus.
The flag is a string wrapped by a flag{} (e.g., flag{abcdefg}).
Also note: the whole string includes "flag{" and "}".
Hint. Note also that the flag could be any object
(e.g., a hidden file) in the system.
Hints. This simple CTF is basically a hide-and-seek game.
The flag will be hidden somewhere in the system (docker VM).
It could be a hidden file somewhere in the file system, for example.
The purpose of this problem is to familiarize basic operating
system knowledge, for some of you who didn't have experience with
Linux or command line.
What to submit: a text file (.txt) contains the flag you found.
Happy hacking :)
After successfully getting into your docker container,you can start to find the flag. The flagis a stringwrapped by a flag{} (e.g., flag{abcdefg}.)Note: the whole string includes "flag{" and "}".Note also that the flag could be any object(e.g., a hidden file) in the system.Hints. This simple CTF is basically a hide-and-seek game.The flag will be hidden somewhere in the system (docker VM).It could be a hidden file somewhere in the file system, for example.The purpose of this problem is to familiarize basic operatingsystem knowledge, for some of you who didn't have experience withLinux or command line.What to submit: a text file (.txt) contains the flag you found.Happy hacking :)
Additional command:
1. see docker images(you just install from Dockerfile): sudo docker images;
2. delete an image from images: sudo docker rmiimage_name
3. see all the docker container: sudo docker ps -a
Attachment:- Setup environment.rar
Attachment:- dockertar.zip