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.
- Download repository
git clone https://github.com/ThreeBodyProblems/flag-sweeper.git
cd flag-sweeper- Install required packages
pip install -r requirements.txt- Modify .env if needed. All available settings can be found in settings_templates.default module.
echo "SECRET_KEY=secure-secret-key" > .env- Run script
Option 1.1: Run script for debug
python main.pyOption 1.2: Run production script
gunicorn --config gunicorn_config.py main:app- Pull relevant container from docker hub:
docker pull danielbashl/flagsweeper:latest- Launch container:
docker run -d -p 8000:5000 danielbashl/flagsweeper:latest