Git Product home page Git Product logo

simple-juice-ctfd-setup's Introduction

Simple juice shop ctfd setup

Easily setup a Juice Shop CTF event with your coworkers.

features:

  • no runtime env (except docker) required
  • ctfd automatically configured for Juice Shop CTF

How to use

Production

docker-compose up
docker-compose rm -s -f

Paramaters (port, credentials, etc. check the docker-compose.yml file) are passed as environment variables:

SJCS_PORT=8080 SJCS_PASSWORD=secretpassword docker-compose up
Name Default value Description
SJCS_PORT 80 The port to use
SJCS_PATH ./data The path on the filesystem where the database will be store
SJCS_USER admin The username of the CTFd admin
SJCS_TEAMS red,blue The teams to create (separated by ,)
SJCS_PASSWORD admin123 The password of the CTFd admin
SJCS_TITLE JuiceCTF The CTF name for CTFd
SJCS_CHALS_FOLDER ./bootstrapper/challenges The path to the folder of custom zipped challenges backup
SJCS_DOMAIN mycompany.net The domain used for email generation
SJCS_SLIDES_FILE index.md The mardown file that will be used as slides
SJCS_SLIDES_FOLDER ./web/slides The path to the folder of markdown slides
SJCS_SLIDES_THEME blood The reveal theme for the slides
SJCS_SLIDES_HL_THEME darcula The highlight reveal theme for the slides

Install docker and pull the juice-shop image on kali linux:

curl -fsSL http://<the server ip>/install/docker.sh | sh

Development

docker-compose  -f docker-compose.yml -f docker-compose.dev.yml up --force-recreate --remove-orphans --build

simple-juice-ctfd-setup's People

Contributors

dcylabs avatar simbas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simple-juice-ctfd-setup's Issues

Adds a production script

Adds a production script with:

  • directory linking for mariadb volume
  • customization of admin credentials
  • customization of bootstrapper flags

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.