Git Product home page Git Product logo

pyctf's Introduction

PyCTF

Web Based CTF Platform, multithreaded and powered by python3

Hosted Version : http://pyctf.fr/

VERSION : Beta 3.0

Presentation

PyCTF is a CTF platform that allows you to add challenges and deploy them dynamicaly. The storage of the personnal information are secured, such as the password, that are hashed with a complex algorithm (sha256, multi-round, with complex salt). This platform supports one or more users, and can be personalized (style and code).

Usage

Linux/Windows :

Install

git clone [url]
cd PyCTF
sudo python3 main.py
(for the external access, you will have to setup an openvpn server)

You will have to run the app in screen if you want to deploy it in production:

sudo apt install screen
screen 
sudo python3 main.py
Ctrl-A
Ctrl-D
screen -r (to get back into the screen session)

Add Challenges

  • Add a folder containing the challenge, with the dockerfile (in which you'll put one echo {{random}} to detach every docker id).
  • Add a challenge with a category, an id and a flag in ./var/challs.txt
  • Add the challenge in ./templates/instances.html There are no needs to restart the app, it will be reloaded automatically

Uninstall

rm -rf PyCTF
sudo docker system prune -a (Optional)

Features to come :

  • Non privileged user Automation (to run the server as user)
  • Automation of openvpn profiles
  • Improvements on the admin panel (add/remove challs, remove users, reboot server, delete all non verified users)

Features :

  • Users management
  • Instances Management
  • Points and ranking system
  • Scoreboard
  • Email verification
  • Login/logout and register panel
  • Stats and personalized graphs
  • User Friendly interface
  • Automatic network configuration
  • External access to docker network
  • Optimisation of the website
  • Admin Panel
  • Port representation (ranges and unique)
  • IP Ban

Media

Stats

Scoreboard

Instances

Admin Panel

Legal

Usefull Info:

  • Informations are only stored in your computer.
  • This project isn't GPDR compliant and must be used for personnal usage.

Project Info

Back-End / Front-End / Code : Ph3nX

Report a Bug : Report

Supporters:

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

pyctf's People

Contributors

ph3nx-z avatar

Stargazers

Enzo avatar  avatar Mr.Tintin 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.