Skip to content

Techie-Ernie/ctfdex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTFDex

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 :)

What this does

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.

Installation

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 

How to use

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

About

Codex CTF Solver 🥀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages