diff --git a/Dockerfile b/Dockerfile index 177d596..bc5ea20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,13 @@ FROM python:3.7 as build RUN pip install pipenv WORKDIR /app -COPY . /app +COPY Pipf* /app/ RUN pipenv install --system --deploy --ignore-pipfile +COPY . /app + + RUN mkdocs build FROM nginx:alpine diff --git a/docs/easy.md b/docs/easy.md index c277772..771345a 100644 --- a/docs/easy.md +++ b/docs/easy.md @@ -1,6 +1,12 @@ # Easy challenges > These challenges are considered easy, they basically guide you to what to do. Do remember to read everything correctly okay? +## Smile! +That is what the message your friend sent contained, and this weird picture of a smiley. You vaguely remember something about JPG files being able to hide other info inside of it. Try to find what it is!
+![:oof:](/img/smiley.jpg)
+ + + ## Finally You are not a master yet, but you can get closer [here](/medium) \ No newline at end of file diff --git a/docs/extra.css b/docs/extra.css new file mode 100644 index 0000000..d7b773e --- /dev/null +++ b/docs/extra.css @@ -0,0 +1,3 @@ +img { + max-width: 200px !important; +} \ No newline at end of file diff --git a/docs/img/smiley.jpg b/docs/img/smiley.jpg new file mode 100644 index 0000000..87b084e Binary files /dev/null and b/docs/img/smiley.jpg differ diff --git a/docs/index.md b/docs/index.md index feebfcd..62d761b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -7,5 +7,10 @@ There are different levels of challenges, easy, medium and hard. The premise of ## Prerequisites It can be useful to know a bit about Linux commands and the like, things like `ls` and `cd` are quite useful to know how to use. It is also recommended to use a Linux VM or actual install to do these challenges, since all the challenges are ran in Linux VM's. +## Some more info +* All of the flags are in the format `flag{xxxx}` where `xxxx` is an hexadecimal MD5 hash (remember to decrypt them [somehow](https://www.md5online.org/md5-decrypt.html)) +* Sometimes you'll be given a link to a site, a text file or an image. Feel free to try and figure out how it works but don't actually break anything please +* For some of the challenges you might need a reverse shell or something like that, that can be hard to set up on your home network without port forwarding some things, I'll try to make all the challenges completable without forwarding, but sometimes a public IP like one you get at the TU might be useful. + ## Are you ready? [Aye aye, captain!](/easy) \ No newline at end of file diff --git a/docs/medium.md b/docs/medium.md index 9ec1b81..77cce9e 100644 --- a/docs/medium.md +++ b/docs/medium.md @@ -17,7 +17,7 @@ 1. Hack into the server 2. Read the hidden password (format=`flag{xxx}`) 3. Fill in your flag below and check if it is right! -4. +4. ## Finally diff --git a/mkdocs.yml b/mkdocs.yml index b3b95e7..ac6a8cb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -16,4 +16,9 @@ repo_url: https://gitlab.voidcorp.nl/jdejeu/ctf-site edit_uri: blob/master/docs/ site_author: Julius de Jeu site_description: A site with a bunch of challenges! -site_url: https://challenges.voidcorp.nl \ No newline at end of file +site_url: https://challenges.voidcorp.nl + +markdown_extensions: + +extra_css: [/extra.css] +google_analytics: ["UA-97849307-2", "challenges.voidcorp.nl"] \ No newline at end of file