Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.52 KB

File metadata and controls

70 lines (53 loc) · 1.52 KB

GCSFP – Great CTFd Scraper for Problem Setters

A Python tool designed to help CTF problem setters analyze their event by scraping information from a CTFd instance.

It can automatically fetch challenge lists, challenge solves, scoreboard information, and more.

This tool is meant for authorized use only (your own CTFd instance or one you manage).


✨ Features

  • 📜 List all challenges with:
    • ID
    • Name
    • Category
    • Current points
  • 🧩 View challenge solve data
    • Team names
    • Solve timestamps
    • Solve count
  • 🏆 Fetch the live scoreboard

📂 Project Structure

ctfd-chall-info/
├── src/
│ ├── art.py # ASCII banner
│ ├── colors.py # ANSI color codes
│ ├── data.py # URL & credentials
│ ├── utils.py # API handlers & scraping helpers
│ └── main.py # Main program
├── LICENSE
└── README.md

⚙️ Requirements

Install dependencies:

pip install requests beautifulsoup4

🚀 Usage

  1. Edit your credentials

Inside data.py:

url = "http://your-ctfd-url"
username = "your_user"
password = "your_pass"
  1. Run the program
python3 run.py

⚠️ Disclaimer

This tool is for CTF problem setters and administrators. Do NOT use it on platforms you do not have permission to access.

You are responsible for complying with your local laws and event rules.

📜 License

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