Skip to content

Online attack-defense ctf platform. What if you had a hacker in your LAN?

License

Notifications You must be signed in to change notification settings

DanielBash/flag-sweeper

Repository files navigation

placeholder flask tests update docker image Python Stars

Flag Sweeper

Web resource for finding red flags in your opponents machine.

Flag Sweeper - internet resource, that can be self-hosted, for attack-defense CTF(capture the flag) competitions. It is currently accessible on this address. There is also a tor version of this website, here.

Local setup

Option 1: Python virtual environment

  1. Download repository
git clone https://github.com/ThreeBodyProblems/flag-sweeper.git
cd flag-sweeper
  1. Install required packages
pip install -r requirements.txt
  1. Modify .env if needed. All available settings can be found in settings_templates.default module.
echo "SECRET_KEY=secure-secret-key" > .env
  1. Run script

Option 1.1: Run script for debug

python main.py

Option 1.2: Run production script

gunicorn --config gunicorn_config.py main:app

Option 2: Docker-container

  1. Pull relevant container from docker hub:
docker pull danielbashl/flagsweeper:latest
  1. Launch container:
docker run -d -p 8000:5000 danielbashl/flagsweeper:latest

About

Online attack-defense ctf platform. What if you had a hacker in your LAN?

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors