├── .github └── workflows │ └── lint.yml ├── .gitignore ├── .gitlab-ci.yml ├── CHANGELOG ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── ctfcli ├── __init__.py ├── __main__.py ├── cli │ ├── __init__.py │ ├── challenges.py │ ├── config.py │ └── plugins.py ├── spec │ └── challenge-example.yml ├── templates │ ├── binary │ │ └── default │ │ │ ├── cookiecutter.json │ │ │ └── {{cookiecutter.name}} │ │ │ ├── .dockerignore │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── WRITEUP.md │ │ │ ├── challenge.yml │ │ │ └── src │ │ │ └── {{cookiecutter.name}}.c │ ├── crypto │ │ └── default │ │ │ ├── cookiecutter.json │ │ │ └── {{cookiecutter.name}} │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── WRITEUP.md │ │ │ ├── challenge.yml │ │ │ └── src │ │ │ ├── encrypt.py │ │ │ └── flag.txt │ ├── programming │ │ └── default │ │ │ ├── cookiecutter.json │ │ │ └── {{cookiecutter.name}} │ │ │ ├── .dockerignore │ │ │ ├── Dockerfile │ │ │ ├── README.md │ │ │ ├── WRITEUP.md │ │ │ ├── challenge.yml │ │ │ ├── docker-compose.yml │ │ │ └── src │ │ │ ├── requirements.txt │ │ │ ├── serve.sh │ │ │ └── server.py │ └── web │ │ └── default │ │ ├── cookiecutter.json │ │ └── {{cookiecutter.name}} │ │ ├── .dockerignore │ │ ├── Dockerfile │ │ ├── README.md │ │ ├── WRITEUP.md │ │ ├── challenge.yml │ │ ├── docker-compose.yml │ │ └── src │ │ ├── app.py │ │ ├── requirements.txt │ │ ├── serve.sh │ │ └── templates │ │ ├── base.html │ │ └── index.html └── utils │ ├── __init__.py │ ├── api.py │ ├── challenge.py │ ├── config.py │ ├── plugins.py │ └── spec.py ├── development.txt ├── docs └── plugins.md ├── requirements.txt └── setup.py /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/CHANGELOG -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/README.md -------------------------------------------------------------------------------- /ctfcli/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/__init__.py -------------------------------------------------------------------------------- /ctfcli/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/__main__.py -------------------------------------------------------------------------------- /ctfcli/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ctfcli/cli/challenges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/cli/challenges.py -------------------------------------------------------------------------------- /ctfcli/cli/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/cli/config.py -------------------------------------------------------------------------------- /ctfcli/cli/plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/cli/plugins.py -------------------------------------------------------------------------------- /ctfcli/spec/challenge-example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/spec/challenge-example.yml -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/cookiecutter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hello" 3 | } -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/{{cookiecutter.name}}/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/binary/default/{{cookiecutter.name}}/.dockerignore -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/{{cookiecutter.name}}/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/binary/default/{{cookiecutter.name}}/Makefile -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/{{cookiecutter.name}}/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/binary/default/{{cookiecutter.name}}/README.md -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/{{cookiecutter.name}}/WRITEUP.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/{{cookiecutter.name}}/challenge.yml: -------------------------------------------------------------------------------- 1 | ../../../../spec/challenge-example.yml -------------------------------------------------------------------------------- /ctfcli/templates/binary/default/{{cookiecutter.name}}/src/{{cookiecutter.name}}.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/binary/default/{{cookiecutter.name}}/src/{{cookiecutter.name}}.c -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/cookiecutter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hello" 3 | } -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/{{cookiecutter.name}}/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/crypto/default/{{cookiecutter.name}}/Makefile -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/{{cookiecutter.name}}/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/crypto/default/{{cookiecutter.name}}/README.md -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/{{cookiecutter.name}}/WRITEUP.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/{{cookiecutter.name}}/challenge.yml: -------------------------------------------------------------------------------- 1 | ../../../../spec/challenge-example.yml -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/{{cookiecutter.name}}/src/encrypt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/crypto/default/{{cookiecutter.name}}/src/encrypt.py -------------------------------------------------------------------------------- /ctfcli/templates/crypto/default/{{cookiecutter.name}}/src/flag.txt: -------------------------------------------------------------------------------- 1 | temp flag -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/cookiecutter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/cookiecutter.json -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/{{cookiecutter.name}}/.dockerignore -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/{{cookiecutter.name}}/Dockerfile -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/{{cookiecutter.name}}/README.md -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/WRITEUP.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/challenge.yml: -------------------------------------------------------------------------------- 1 | ../../../../spec/challenge-example.yml -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/{{cookiecutter.name}}/docker-compose.yml -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/src/requirements.txt: -------------------------------------------------------------------------------- 1 | six==1.13.0 -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/src/serve.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/{{cookiecutter.name}}/src/serve.sh -------------------------------------------------------------------------------- /ctfcli/templates/programming/default/{{cookiecutter.name}}/src/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/programming/default/{{cookiecutter.name}}/src/server.py -------------------------------------------------------------------------------- /ctfcli/templates/web/default/cookiecutter.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hello" 3 | } -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/.dockerignore -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/Dockerfile -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/README.md -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/WRITEUP.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/challenge.yml: -------------------------------------------------------------------------------- 1 | ../../../../spec/challenge-example.yml -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/docker-compose.yml -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/src/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/src/app.py -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/src/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/src/requirements.txt -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/src/serve.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/src/serve.sh -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/src/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/src/templates/base.html -------------------------------------------------------------------------------- /ctfcli/templates/web/default/{{cookiecutter.name}}/src/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/templates/web/default/{{cookiecutter.name}}/src/templates/index.html -------------------------------------------------------------------------------- /ctfcli/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ctfcli/utils/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/utils/api.py -------------------------------------------------------------------------------- /ctfcli/utils/challenge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/utils/challenge.py -------------------------------------------------------------------------------- /ctfcli/utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/utils/config.py -------------------------------------------------------------------------------- /ctfcli/utils/plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/utils/plugins.py -------------------------------------------------------------------------------- /ctfcli/utils/spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/ctfcli/utils/spec.py -------------------------------------------------------------------------------- /development.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/development.txt -------------------------------------------------------------------------------- /docs/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/docs/plugins.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JohnHammond/ctfcli/HEAD/setup.py --------------------------------------------------------------------------------