Important
Don't rely on this tool to solve CTF challenges for you if you're serious about learning cybersecurity. This is just an experiment :)
CTFDex can scrape CTFd-based CTF sites for challenges using playwright, and extracts challenge titles, descriptions, points and any challenge files.
Each challenge is then passed into OpenAI's Codex which attempts to solve the challenge and return the flag.
Install Python, git and Codex. You also need to have wget installed (on Linux) or curl on Windows.
git clone https://github.com/Techie-Ernie/ctfdex.git
cd ctfdex
pip install -r requirements.txt
playwright install Edit configuration at config.yaml, or create another config file, then run:
python main.py or with a custom config file:
python main.py -c newconfig.yaml