From 5be29d91adfe9bc7e8dfa197e1b611545ddff7ce Mon Sep 17 00:00:00 2001 From: Nick Gonella Date: Fri, 23 Feb 2018 07:02:09 -0800 Subject: [PATCH 1/3] It Only Compiles Every 3 Times, Good Luck --- README.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/README.md b/README.md index f5a8f59..8b13789 100644 --- a/README.md +++ b/README.md @@ -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` From dca4824e3cd3cda6b18d0b7cd2736c4c78a4240b Mon Sep 17 00:00:00 2001 From: Nick Gonella Date: Fri, 23 Feb 2018 07:19:42 -0800 Subject: [PATCH 2/3] Add a test cause the manager said so --- tests/test_app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_app.py b/tests/test_app.py index 4eccc06..96ff9ba 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -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 From 3778e85eb7ba959661e0d701768e7fefb3cdaa3a Mon Sep 17 00:00:00 2001 From: Nick Gonella Date: Fri, 23 Feb 2018 07:38:04 -0800 Subject: [PATCH 3/3] Stupid Colon --- tests/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_app.py b/tests/test_app.py index 96ff9ba..5084b38 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -152,5 +152,5 @@ def test_logout(client): assert get_token(client) != token # Test the thing -def test_bad(client) +def test_bad(client): assert False