Sign inSign up

fs0ci3ty/httpd-ctf

By fs0ci3ty

•Updated over 2 years ago

Linux Challenges | SysAdmin Linux CTF ⚔️ Explore the Deep System

Image
0

939

fs0ci3ty/httpd-ctf repository overview

Adminsys Linux CTF ⚔️ Explore the Deep System (EDS)

⁠Description

Hello Hello !

fs0ci3ty/httpd-ctf is a docker image to setup CTF sysadmin challenges about the webserver Apache.
It containers three challenges. key words:

  • httpd
  • systemd
  • virtualhost
  • curl

Ps: The CTF sysadmin PTF will be soon available. You can use docker play (https://labs.play-with-docker.com⁠) to play this challenge.

⁠How to setup and start ?

docker run -dit  --privileged --name apache-ctf fs0ci3ty/httpd-ctf /usr/sbin/init
docker exec -it apache-ctf bash

⁠Challenges

Scripts to be executed to obtain the flag are located in /data/scripts

⁠Challenge 1

A sysadmin has misconfigured your apache server. As a result, the apache service no longer starts ! Find out why and fix the apache service, then display the flag using the script check_apache_flag1_.

⁠Challenge 2

Clients can no longer access the subarashi.lab website !!!! Find out why and fix it, then display the flag using the check_apache_flag2_.
Ps (Hint): subarashi.lab is a virtualhost. Even if it's not accessible on internet you check her availability on the server with curl command.

⁠Challenge 3

A sysadmin had to create his vhost gagie.lab but when he tries to access it it doesn't work. Help him to find out what's wrong and fix it, then display the flag using the check_apache_flag3_ script.

Ps (Hint): gagie.lab is a virtualhost. Even if it's not accessible on internet you check her availability on the server with curl command.

Tag summary

Content type

Image

Digest

sha256:500124edf…

Size

445.5 MB

Last updated

over 2 years ago

docker pull fs0ci3ty/httpd-ctf