XuCcc / CTFdOnlineChallenge

Plugin that uses to generate dynamic flag with oneline envirenment for CTFd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online Challenges Plugin for CTFd

It's a plugin that uses to generate dynamic flag for Web or Pwn online envirenment Chanls with dockerfile

Usage

  1. New a Online Challenges with a random token.
  2. Copy the token into send.py and change the platfrom url.
  3. Config the interval(default is 5 seconds) in send.py.
  4. Copy the send.py into your Online envirenment and run it.

Install

Requires: CTFd >= 1.1.2

Don't test on earlier version

  • Clone this repository to CTFd/plugins

Notes: make sure this folder is named OnlineChallenge so that CTFd can load the assets.

TODO

  • Server
    • Optimize Web UI
    • Cheat warnings when find someone copy others' flag
    • Create and Update the token easier
    • More detailed log
    • Secure authentication with token
    • Cheat Monitor
  • Client
    • Regenerate the flag when it accessed
    • More detailed log
  • Useage demo

Screenshot

Challenges

Admin Monitor

Reference

About

Plugin that uses to generate dynamic flag with oneline envirenment for CTFd


Languages

Language:HTML 56.6%Language:Python 32.7%Language:JavaScript 10.7%