Skip to content

tehdisko/adtasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some easy tasks for CTF AD trainings

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. Add your service to .github/workflows/check-services.yml, line 38.
  8. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published