ctfcli
ctfcli copied to clipboard
ctfcli is a tool to manage Capture The Flag events and challenges
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22. Commits 8fb96ed 2023.07.22 afe7722 Bump actions/setup-python from 4.6.1 to 4.7.0 (#230) 2038739 Bump dessant/lock-threads from 3.0.0 to 4.0.1 (#229) 44df761 Hash pin Actions and...
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0. Release notes Sourced from requests's releases. v2.31.0 2.31.0 (2023-05-22) Security Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization...
Bumps [flask](https://github.com/pallets/flask) from 1.1.1 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...
In my case, this allowed adding Linux capabilities to run [nsjail](https://github.com/google/nsjail) for TCP-based pwn chals.
I currently use ctfcli like an infrastructure-as-code provider in CI/CD pipelines. However, the following resource changes (challenges/containers/services) must be reconciled manually: * Name changes, as it's the sync anchor *...
Add support for using git subrepo instead of subtree to manage git-based challenges. This seems to work well from preliminary testing, reducing the number of conflicts when pushing and pulling,...
Even with git subrepo it seems that we can sometimes have issues with git lfs. ``` ❯ ctf challenge add .... git-subrepo: Command failed: 'git read-tree --prefix=...... -u 4dda58e74a75de46c39............'. Downloading...
I believe our healthcheck implemtnation is currently lacking so just writing some notes on improving it. I believe ctfcli should treat a solve script as a kind of template. Possibly...
Requires #109. Fixes #107 Problem: ctfcli cannot support renames. : ``` [challenges] [[challenge-file.yml]] deployment_details: ctfd_id: last_updated: ``` Solution: check a deployment_details section if exists and PATCH the id before doing...