GithubHelp home page GithubHelp logo

vulnserver's Introduction

VulnServer

Trying to make a python server to host applications for a GDB class that I'm teaching. The idea is to have something similar to an interactive CTF platform where students can send requests to the python server, which will get parsed there and then passed on to an underlying C/C++ application that has been dockerized.

Desired Features:

  • Simple Webpages/CSS
  • Spin-up docker containers to run the different labs/examples
    • Pass info from client requests to docker containers
  • Provide dump files for students to debug

TODO:

  • Accounts
  • Docker Integration
    • Spin up containers
    • Link user input to docker and back
  • Share coredump files
  • Write some sample applications, e.g. common buffer overflows, etc.

Install

pip3 install docker

Run

python3 main.py

Credit

The base server code was modified from here. I like the simplicity, which makes it easier to secure hopefully.

Modified from: https://medium.com/@andrewklatzke/creating-a-python3-webserver-from-the-ground-up-4ff8933ecb96 https://medium.com/@andrewklatzke/building-a-python-webserver-from-the-ground-up-part-two-c8ca336abe62

vulnserver's People

Contributors

m-jag avatar

Watchers

 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.