npm install -g juice-shop-ctf-cli
Open a command line and run:
Then simply follow the instructions of the command line tool:
Apply the generated
insert-ctfd-challenges.sql following the steps
describing your own CTFd setup.
git clone https://github.com/CTFd/CTFd.git.
INSERTstatements you created.
docker-composesetup (including MySQL container)
Follow steps 2-4 from the CTFd Docker setup to download the source code, create containers and start them.
docker-compose up from previous step, you should be
able to browse to your CTFd instance UI (
<<docker host IP>>:8000 by
default) and create an admin user and CTF name.
Once you have done this, run
docker-compose down or use
shut down CTFd. Note: Unlike a usual Docker container, data will
persist even afterwards.
Add the following section to the
docker-compose.yml file and then
docker-compose up again:
ports: - "3306:3306"
Use your favourite MySQL client to connect to the CTFd database
(default credentials are root with no password) and execute the
INSERT statements you created.
Browse back to your CTFd instance UI and check everything has worked correctly.
If everything has worked, do another
docker-compose down, remove
the ports section you added to
docker-compose.yml and then do
docker-compose up again and you are ready to go!
If you need help with the application setup please check the Troubleshooting section below or post your specific problem or question in the official Gitter Chat.
0.0.0.0:XXXXfor TCP in the
defaultVM's network adapter in VirtualBox. For CTFd you need ports
Found a bug? Got an idea for enhancement? Improvement for cheating prevention?
PayPal donations via above button go to the OWASP Foundations and are earmarked for "Juice Shop". This is the preferred way to support the project.
Ordered by date of first contribution. Auto-generated on Wed, 01 Feb 2017 20:01:35 GMT.
This program is free software: you can redistribute it and/or modify it under the terms of the MIT license. OWASP Juice Shop and any contributions are Copyright © by Bjoern Kimminich 2016-2017.