Skip to content

RomanY467/CTF_Alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– CTFd_Alerts (SCC edition)

This is a Python script that interacts with the CTFd API using the requests library from Python. The script checks for specific changes on the CTF status, such as leaderboard updates or new challenge solves. Additionally, it can play videos on the host computer when requested.

πŸš€ Installation

  1. Clone the repository: git clone https://github.com/RomanY467/CTF_Alerts.git
  2. Install the required dependencies: pip3 install requests moviepy

🎯 Usage

  1. Change the video file path on play_video.py.
  2. Run the script: python3 challenge.py <url> <admin_token> <challenge_id>
  3. The script will play the video in fullscreen mode on the host computer. Note that the full screen feature does not stretch the video, so if your video has a different aspect ratio than your screen, there may be black bars on the sides.

πŸ“ TODO

Add more functionality by enabling user input of challenges and the video that corresponds to each one.

πŸ‘₯ Contributing

If you would like to contribute to this project, feel free to submit a pull request or open an issue. Any feedback or suggestions are also welcome.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

Thanks to the creators of the CTFd API for providing a useful tool for monitoring CTF status. Thanks to the creators of the moviepy library for providing an easy-to-use solution for playing videos in Python.

About

Python script to monitor CTF status and play videos on the host computer when requested.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages