Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Web Security Capture The Flag (CTF) challenge implemented using Flask and Docker.

NotificationsYou must be signed in to change notification settings

michaelwjohnson/web-security-ctf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A web security Capture The Flag (CTF) challenge implemented using Flask and Docker. This project is designed to help users learn and practice web security concepts in a controlled environment.

Project Structure

  • flaskApp.py: Main Flask application
  • Dockerfile: Container configuration for the web application
  • docker-compose.yml: Docker Compose configuration for easy deployment
  • requirements.txt: Python dependencies
  • templates/: HTML templates for the web interface
    • dashboard.html
    • index.html
    • login.html

Setup

  1. Clone the repository:

    git clone https://github.com/michaelwjohnson/web-security-ctf.gitcd web-security-ctf
  2. Build and run with Docker Compose:

    docker-compose up --build

Alternative Deployment Method

Alternatively, you can pull the pre-built Docker image from Docker Hub and run it directly.

  1. Pull the Docker image from Docker Hub:

    docker pull michaelwayne/web-security-ctf
  2. Run the Docker image:

    docker run -p 8080:8080 michaelwayne/web-security-ctf

This will start the CTF container and make it available on porthttp://localhost:8080

Development

To run the application locally for development:

  1. Create a virtual environment:

    python -m venv venvsource venv/bin/activate# On Windows: venv\Scripts\activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Flask application:

    python flaskApp.py

Note

This is a CTF challenge environment. Please ensure you run it in a controlled environment and do not expose it to the public internet.

About

Web Security Capture The Flag (CTF) challenge implemented using Flask and Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp