Skip to content

A&D CTF template repository

License

Notifications You must be signed in to change notification settings

C4T-BuT-S4D/ad-boilerplate

 
 

Repository files navigation

ad-boilerplate

check-services

Development workflow:

  1. Create branch named $SERVICE.
  2. Write your code in services/$SERVICE, checkers/$SERVICE, sploits/$SERVICE and internal/$SERVICE (if needed).
  3. Validate your service with SERVICE=$SERVICE ./check.py validate.
  4. Up your service with SERVICE=$SERVICE ./check.py up.
  5. Check your service with SERVICE=$SERVICE RUNS=200 ./check.py check.
  6. Down your service with SERVICE=$SERVICE ./check.py down.
  7. Push your code and create pull request to master branch.

Don't forget to:

  1. Add your checker requirements to checkers/requirements.txt.
  2. Use dedcleaner container to delete old files if needed. Example can be found in services/example/docker-compose.yml.
  3. Add info about your checker to Checker class. Example can be found in checkers/example/checker.py, line 11.

Languages

  • Python 99.3%
  • Dockerfile 0.7%