- Notifications
You must be signed in to change notification settings - Fork0
michaelwjohnson/web-security-ctf
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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.
flaskApp.py: Main Flask applicationDockerfile: Container configuration for the web applicationdocker-compose.yml: Docker Compose configuration for easy deploymentrequirements.txt: Python dependenciestemplates/: HTML templates for the web interface- dashboard.html
- index.html
- login.html
Clone the repository:
git clone https://github.com/michaelwjohnson/web-security-ctf.gitcd web-security-ctfBuild and run with Docker Compose:
docker-compose up --build
Alternatively, you can pull the pre-built Docker image from Docker Hub and run it directly.
Pull the Docker image from Docker Hub:
docker pull michaelwayne/web-security-ctf
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
To run the application locally for development:
Create a virtual environment:
python -m venv venvsource venv/bin/activate# On Windows: venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Run the Flask application:
python flaskApp.py
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.