Code Monkey home page Code Monkey logo

460's Introduction

yasha_game

This project is a simple wargame, meant to teach C & Linux basics.

The project is set up into two main folders: infra and web.

Warning: This project is no longer maintained, and has security vulnerabilities. Deploy at your own risk.

infra

This contains all of the infrastructure supporting the project.

  • The Dockerfile is used to build the container that users log into when they use the online terminal, and is built with: docker build -t wetty .
  • create_entry_script.sh is used to create an entry script for each new user that creates an account on the wargame site. Each user needs it to make sure their account puts them directly into the container with the proper working directory and permissions set up.

web

This contains all of the webserver code for the wargame.

  • frontend contains a simple Jekyll site that is used to build the challenge pages. Each challenge is written as a markdown file. To build, cd web and then yarn run build. It will automatically build the Jekyll site into frontend/_site.
  • There is a component, wetty, which we forked and expanded for this project. It allows users to ssh into the server (and directly into the Docker container) from their web browser.
  • The rest of the node server provides user accounts, challenge tracking, and solution checking. The web server can be run with yarn run start, and requires sudo to read from the SSL certificates provided by Let's Encrypt and to build the user account on the server when someone makes an account.

460's People

Contributors

shantulshi avatar redsn0w422 avatar lathie avatar

Watchers

James Cloos avatar  avatar

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.