# raidersctf/raidersctf_2025 architecture

> Architecture diagram of the GitHub repository raidersctf/raidersctf_2025, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/raidersctf/raidersctf_2025
- Repository: https://github.com/raidersctf/raidersctf_2025

## Overview

##### Project Type and Purpose
- The project is a Capture The Flag (CTF) challenge repository for RaidersCTF 2025.
- It contains multiple challenge categories such as crypto, forensics, misc, pentest, pwn, rev, web, and a welcome category.
- Each category holds several challenges (each with its own folder, source code files, and README), with challenges implemented in different languages (Python, C, PHP) or using different deployment mechanisms (Docker, docker-compose, nginx, Apache).

##### Analyzing the File Structure
- Top-level directories represent challenge categories:
- crypto (with challenges like "0x", "Ceaser13", "CryptoGame")
- forensics (with challenges like "LostPixel" and "Tsundere")
- misc (with challenges such as "BreakFixedIdea", "WhereAmI")
- pentest (with challenges like "202122", "HowAreYouMrSudo", "WhereIsTheCommand")
- pwn (exemplified by "Bufffffffffffffff")
- rev (with challenge "うpx")
- web (with several containerized web challenges, e.g., "BurningFox", "FastClick", "MakeItDelicious", "SeaSuRFing", "WhatLanguage")
- welcome (an introductory or entry challenge)
- Different build and deployment artifacts:
- Dockerfile, docker-compose.yml, nginx.conf, apache configuration, PHP files hint at containerized deployment and web server configuration.
- Direct script files (Python or C) in other categories suggest standalone challenges.

## Diagram (Mermaid)

```mermaid
flowchart TD
    User["User/CTF Participant"]:::user

    subgraph "Crypto Challenges"
        CRG["Crypto Challenges"]:::cryptoCat
        C0["Crypto - 0x Challenge"]:::cryptoDetail
        C1["Crypto - Ceaser13 Challenge"]:::cryptoDetail
        C2["Crypto - CryptoGame Challenge"]:::cryptoDetail
        CRG --> C0
        CRG --> C1
        CRG --> C2
    end

    subgraph "Forensics Challenges"
        FOG["Forensics Challenges"]:::forensicsCat
        FL["Forensics - LostPixel Challenge"]:::forensicsDetail
        FT["Forensics - Tsundere Challenge"]:::forensicsDetail
        FOG --> FL
        FOG --> FT
    end

    subgraph "Misc Challenges"
        MCG["Misc Challenges"]:::miscCat
        MB["Misc - BreakFixedIdea Challenge"]:::miscDetail
        MW["Misc - WhereAmI Challenge"]:::miscDetail
        MCG --> MB
        MCG --> MW
    end

    subgraph "Pentest Challenges"
        PTC["Pentest Challenges"]:::pentestCat
        P1["Pentest - 202122 Challenge"]:::pentestDetail
        P2["Pentest - HowAreYouMrSudo Challenge"]:::pentestDetail
        P3["Pentest - WhereIsTheCommand Challenge"]:::pentestDetail
        PTC --> P1
        PTC --> P2
        PTC --> P3
    end

    subgraph "Pwn Challenges"
        PWN["Pwn Challenges"]:::pwnCat
        PB["Pwn - Bufffffffffffffff Challenge"]:::pwnDetail
        PWN --> PB
    end

    subgraph "Rev Challenges"
        REV["Rev Challenges"]:::revCat
        RU["Rev - うpx Challenge"]:::revDetail
        REV --> RU
    end

    subgraph "Web Challenges"
        WEB["Web Challenges"]:::webCat
        WB["Web - BurningFox Challenge"]:::webDetail
        WF["Web - FastClick Challenge"]:::webDetail
        WM["Web - MakeItDelicious Challenge"]:::webDetail
        WS["Web - SeaSuRFing Challenge"]:::webDetail
        WW["Web - WhatLanguage Challenge"]:::webDetail
        DC["Docker Container"]:::docker
        WSERV["Web Server"]:::webServer
        WEB --> WB
        WEB --> WF
        WEB --> WM
        WEB --> WS
        WEB --> WW
        WB --> DC
        WF --> DC
        WM --> DC
        WS --> DC
        WW --> DC
        DC --> WSERV
    end

    subgraph "Welcome Challenge"
        W["Welcome Challenge"]:::welcomeDetail
    end

    %% Connections from User to each challenge category
    User --> CRG
    User --> FOG
    User --> MCG
    User --> PTC
    User --> PWN
    User --> REV
    User --> WEB
    User --> W

    %% Click Events
    click CRG "https://github.com/raidersctf/raidersctf_2025/tree/master/crypto/"
    click C0 "https://github.com/raidersctf/raidersctf_2025/blob/master/crypto/0x/0x.py"
    click C1 "https://github.com/raidersctf/raidersctf_2025/blob/master/crypto/Ceaser13/Ceaser13.py"
    click C2 "https://github.com/raidersctf/raidersctf_2025/blob/master/crypto/CryptoGame/CryptoGame.py"

    click FOG "https://github.com/raidersctf/raidersctf_2025/tree/master/forensics/"
    click FL "https://github.com/raidersctf/raidersctf_2025/blob/master/forensics/LostPixel/README.md"
    click FT "https://github.com/raidersctf/raidersctf_2025/blob/master/forensics/Tsundere/README.md"

    click MCG "https://github.com/raidersctf/raidersctf_2025/tree/master/misc/"
    click MB "https://github.com/raidersctf/raidersctf_2025/blob/master/misc/BreakFixedIdea/README.md"
    click MW "https://github.com/raidersctf/raidersctf_2025/blob/master/misc/WhereAmI/README.md"

    click PTC "https://github.com/raidersctf/raidersctf_2025/tree/master/pentest/"
    click P1 "https://github.com/raidersctf/raidersctf_2025/blob/master/pentest/202122/README.md"
    click P2 "https://github.com/raidersctf/raidersctf_2025/blob/master/pentest/HowAreYouMrSudo/README.md"
    click P3 "https://github.com/raidersctf/raidersctf_2025/blob/master/pentest/WhereIsTheCommand/README.md"

    click PWN "https://github.com/raidersctf/raidersctf_2025/tree/master/pwn/"
    click PB "https://github.com/raidersctf/raidersctf_2025/blob/master/pwn/Bufffffffffffffff/Bufffffffffffffff.c"

    click REV "https://github.com/raidersctf/raidersctf_2025/tree/master/rev/"
    click RU "https://github.com/raidersctf/raidersctf_2025/blob/master/rev/うpx/README.md"

    click WEB "https://github.com/raidersctf/raidersctf_2025/tree/master/web/"
    click WB "https://github.com/raidersctf/raidersctf_2025/tree/master/web/BurningFox/Dockerfile"
    click WF "https://github.com/raidersctf/raidersctf_2025/tree/master/web/FastClick/Dockerfile"
    click WM "https://github.com/raidersctf/raidersctf_2025/tree/master/web/MakeItDelicious/Dockerfile"
    click WS "https://github.com/raidersctf/raidersctf_2025/tree/master/web/SeaSuRFing/Dockerfile"
    click WW "https://github.com/raidersctf/raidersctf_2025/tree/master/web/WhatLanguage/Dockerfile"

    click W "https://github.com/raidersctf/raidersctf_2025/blob/master/welcome/welcome/README.md"

    %% Styles
    classDef user fill:#f7f7a0,stroke:#333,stroke-width:2px;
    classDef cryptoCat fill:#a0d8f7,stroke:#333,stroke-width:1px;
    classDef cryptoDetail fill:#cceeff,stroke:#333,stroke-width:1px;
    classDef forensicsCat fill:#a0f7a0,stroke:#333,stroke-width:1px;
    classDef forensicsDetail fill:#ccffcc,stroke:#333,stroke-width:1px;
    classDef miscCat fill:#f7a0d8,stroke:#333,stroke-width:1px;
    classDef miscDetail fill:#ffcce6,stroke:#333,stroke-width:1px;
    classDef pentestCat fill:#f7d8a0,stroke:#333,stroke-width:1px;
    classDef pentestDetail fill:#ffe9c2,stroke:#333,stroke-width:1px;
    classDef pwnCat fill:#d8a0f7,stroke:#333,stroke-width:1px;
    classDef pwnDetail fill:#e9ccff,stroke:#333,stroke-width:1px;
    classDef revCat fill:#f7a0a0,stroke:#333,stroke-width:1px;
    classDef revDetail fill:#ffcccc,stroke:#333,stroke-width:1px;
    classDef webCat fill:#a0a0f7,stroke:#333,stroke-width:1px;
    classDef webDetail fill:#ccccff,stroke:#333,stroke-width:1px;
    classDef docker fill:#a0f7f7,stroke:#333,stroke-width:1px;
    classDef webServer fill:#f7a0a0,stroke:#333,stroke-width:1px;
    classDef welcomeDetail fill:#a0f7a0,stroke:#333,stroke-width:1px;
```
