Skip to content

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

Notifications You must be signed in to change notification settings

skyroot/CTFdOnlineChallenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 thar uses to generate dynamic flag with oneline envirenment for CTFd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.6%
  • Python 32.7%
  • JavaScript 10.7%