An advanced yet simple attack/defence CTF infrastructure in Go build upon k8s.
- Clone the repo with the submodules
git clone --recurse-submodules <url>
- To start, you must have the following installed:
- Go 1.18+
- Minikube & kubectl
- Copy config file and make your changes
cp config.sample.toml config.toml
- update the kubeconfig path
- Copy challenges-sample as challenges
cp -r challenges-sample challenges
- Run
make set-env
to setup the environment locally. - Run
make set-env-prod
to setup the environment for production. - To start katana, run
./bin/katana run
- To get the most stable docs :
- Setup docs locally by running
make setup-docs
followed byhugo serve
from thedocs
directory. - The docs are also available at https://blog.sdslabs.co/katana.
- Setup docs locally by running
- To visit the most updated docs, it's advised to setup the docs locally from the docs branch.