Skip to content

Commit aaa1dd4

Browse files
committed
Add README
1 parent f590dd3 commit aaa1dd4

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SQL Injection Example Project
2+
3+
## Description
4+
5+
This project is an educational example to demonstrate [SQL injection](https://www.w3schools.com/sql/sql_injection.asp#:~:text=SQL%20injection%20is%20a%20code,statements%2C%20via%20web%20page%20input.) vulnerabilities in a web application.
6+
The application is built using PHP for the backend and MySQL as the database, Docker is used to set up the development environment.
7+
8+
## Prerequisites
9+
10+
Ensure you have Docker and Docker Compose installed:
11+
* [Docker](https://docs.docker.com/get-started/get-docker/)
12+
* [Docker Compose](https://docs.docker.com/compose/install/)
13+
14+
## Setup
15+
16+
1. Build and start the Docker containers
17+
18+
```
19+
docker compose up --build -d
20+
```
21+
2. Access the application
22+
23+
Once the containers are running you can access the application at http://localhost:8080/
24+
25+
26+
## Stop containers
27+
28+
To stop the Docker containers that are running the web application, you can use the following command:
29+
30+
```
31+
docker compose down
32+
```
33+
34+
35+
36+
37+

0 commit comments

Comments
 (0)