https://github.com/dhammon/vulnerable-site
https://github.com/dhammon/vulnerable-site
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dhammon/vulnerable-site
- Owner: dhammon
- Created: 2023-09-03T16:06:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-13T03:28:22.000Z (over 1 year ago)
- Last Synced: 2025-02-05T21:43:24.459Z (over 1 year ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vulnerable By Design Website
This repository hosts a containerized and vulnerable PHP application.
1. Broken Access Control
2. SQLi
4. XSS
5. Unprotected Cookies
6. Hardcoded Credentials
7. File Disclosure
# Requirements
Docker
# Run
Download the repository:
`git clone https://github.com/dhammon/vulnerable-site`
Start the container:
`docker run -it -d -p "80:80" -v ${PWD}/app:/app --name vulnerable-site mattrayner/lamp:latest`
Configure the database (wait 2 minutes after starting the container):
`docker exec vulnerable-site /bin/bash /app/db.sh`
# Troubleshooting
Stop the container:
`docker stop vulnerable-site`
Destroy the container:
`docker container rm vulnerable-site`
Replace repository files:
`git pull`