Git Product home page Git Product logo

akeso's People

Contributors

ameserole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tamuctf

akeso's Issues

Akeso challenge/framework setup help questions

@ameserole
Have a couple of questions using Akeso - Secure Coding/Config framework:

I spinned off gitlab instance and git-runner with docker executer on two different server instances per the doc and it is working and tested.

While creating a challenge (say for e.g. Java SpringBoot web app) as part of the .gitlab-ci.yml script job stages that I added it runs build, test gradle tasks to make sure the code compiles and tests passes, when those jobs are completed it runs build_image job.

The build_image job builds docker image and runs the app inside the gitlab-runner's docker.
I'm running docker:stable inside git-lab runner as shown in the job below

build_image: stage: build_image image: docker:stable services: - docker:dind variables: DOCKER_HOST: tcp://docker:2375/ DOCKER_DRIVER: overlay2 before_script: - apk add --no-cache py-pip - pip install docker-compose - docker info script: - docker build -t xyz/java-webapp:latest . - docker run -p 8080:8080 xyz/java-webapp:latest

The plan is to run deploy job after the above to kick off the tests/entry.sh script where it calls tests/queue.py to run the backend service.
deploy: stage: deploy script: - ". tests/entry.sh"

Framework questions:

  1. With the above setup and when each users forks the challenge repo they get to run the app in their own build process. So they can fix the code and submit.
    Is that how the framework works ? or Do I need to create a docker image and run it on the git-runner server instance ?
  2. How to gracefully end the docker instance if it get kicked off as part of the .gitlab-ci.yml and runs within .gitlab-ci.yml script and user commits ? Do I need to shutdown after the response from queue.py from backend ?
    I'm unable to find the information in the document could you let me know if I'm missing anything.

Repo questions:

  1. The demo site mentioned is not up at https://ctf.tamu.edu/
  2. Do we have the challenge code for the shell, maze, ApacheDirectoryTraversal examples ? or is that only for testing purpose ?
    I see the service and attacker in the repo but not the challenge code for the above.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.