Skip to content

cyanpencil/PokeCTF

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

PokeCTF

A quick-and-easy CTF framework for people who love ASCII and minimalism.

Here's a screenshot:

cool ascii

You can try a live version here

No javascript required.


setup

pip install -r pokectf/requirements.txt. You also need aha to generate ANSI art.

PokeCTF uses a docker container for the web server, and a docker container for each interactive challenge that must be hosted on the server.

Edit and run deploy.sh to spawn all the docker containers and run the CTF.

Define your set of challenges and flags in pokectf/challs.py

Ansi art

Each time a random pokemon from the first 40 of the first collection will be served in ANSI art.

ANSI art images were generate with ansize and then converted to HTML with aha.

You can generate your own images by placing them in pokectf/pokemon_sprites/pokemon/[0..40].png and running pokectf/generate_pokemon_ascii.sh. They will be placed in pokemon/banners/poke[0..40].html and served at random.

Credits

This project was heavily inspired from @andreafioraldi's ascii-ctf.

Pokemon sprites from: https://www.kaggle.com/kvpratama/pokemon-images-dataset

Blurry text hack from: http://www.briankhuu.com/blog/self/2015/01/14/css-style-for-ascii-art.html

ASCII banner generator: http://www.network-science.de/ascii/

About

A quick-and-easy web CTF platform for people who love ASCII and minimalism.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages