Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1 @@
WRATH CTF Framework
===================
[![Build Status](https://travis-ci.org/WhiteHatCP/wrath-ctf-framework.svg?branch=master)](https://travis-ci.org/WhiteHatCP/wrath-ctf-framework)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/DeltaHeavy/wrath-ctf-framework/master/LICENSE)

**What? Really? Another Tiny Homebrewed CTF Framework?**

This simple flask webapp takes password submission from teams, tallies score totals, and presents a leaderboard

Development Environment
-----------------------

First, you need to install Redis on your machine and start an instance running
with the command:

```
$ redis-server
```

Then set up a virtual environment and install the required sources:

```
$ virtualenv venv
$ source venv/bin/activate # (. venv/bin/activate.fish on fish)
$ pip install -r requirements.txt
```

To run the app:

`python run.py`

By default, this will be available at http://localhost:5000. To run on a
different port, use:

`PORT=8080 python run.py`
4 changes: 4 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,7 @@ def test_logout(client):
assert rv.headers['Location'] == 'http://localhost/'

assert get_token(client) != token

# Test the thing
def test_bad(client):
assert False