Skip to content

sigpwny/rctf

Folders and files

NameName
Last commit message
Last commit date
Jul 6, 2020
Sep 16, 2020
May 27, 2020
Jun 18, 2024
Aug 4, 2020
Aug 24, 2023
Aug 6, 2020
Jun 18, 2024
Sep 16, 2020
Jun 29, 2024
Jun 11, 2023
Aug 4, 2020
Jun 15, 2020
Jul 3, 2020
Aug 6, 2020
May 29, 2020
Mar 21, 2020
May 29, 2020
Feb 17, 2020
Sep 16, 2020
May 22, 2020
Feb 9, 2020
Jun 18, 2024
Feb 9, 2020
Mar 19, 2020
Jun 18, 2024
Jun 18, 2024
Jun 19, 2020
Jun 18, 2024
Jul 3, 2020
Jun 11, 2023

Build Status Code Coverage

rCTF is redpwnCTF's CTF platform. It is developed and (used to be) maintained by the redpwn CTF team.

Installation

install.

curl https://get.rctf.redpwn.net > install.sh && chmod +x install.sh
./install.sh

build the image.

docker build -t us-central1-docker.pkg.dev/dotted-forest-314903/rctf/rctf .

update docker compose.

# docker-compose.yml
version: '2.2'
services:
  rctf:
    image: us-central1-docker.pkg.dev/dotted-forest-314903/rctf/rctf # redpwn/rctf:${RCTF_GIT_REF}
    restart: always
    ports:
      - '127.0.0.1:8080:80'
    networks:
      - rctf
    env_file:
      - .env
    environment:
      - PORT=80
    volumes:
      - ./conf.d:/app/conf.d
    depends_on:
      - redis
      - postgres
  redis:
    image: redis:6.0.6
    restart: always
    command: ["redis-server", "--requirepass", "${RCTF_REDIS_PASSWORD}"]
    networks:
      - rctf
    volumes:
      - ./data/rctf-redis:/data
  postgres:
    image: postgres:12.3
    restart: always
    ports:
      - '127.0.0.1:5432:5432'
    environment:
      - POSTGRES_PASSWORD=${RCTF_DATABASE_PASSWORD}
      - POSTGRES_USER=rctf
      - POSTGRES_DB=rctf
    networks:
      - rctf
    volumes:
      - ./data/rctf-postgres:/var/lib/postgresql/data

networks:
  rctf: {}

Getting Started

To get started with rCTF, visit the docs at rctf.redpwn.net

If you need help with rCTF, join the the redpwnCTF Discord server and ask questions in the #rctf-help channel.

Deploying Challenges with rCTF

rCTF itself does not handle challenge deployments.

Optionally, you can use rCDS to deploy challenges. It is heavily integrated with rCTF.

Development

We would love your help! Please see our CONTRIBUTING.md.