Developed by Malek Kamal for we45 Solutions India Pvt Ltd
This web application demonstrates various security vulnerabilities related to SQL Injection. It allows users to execute SQL queries and demonstrates how unsafe queries can lead to data breaches.
- Execute SQL queries safely using prepared statements to prevent SQL Injection attacks.
- Simple web interface to input and execute SQL queries.
- Response display to view the results of executed queries.
- Developed in November 2023 by Malek Kamal for we45 Solutions India Pvt Ltd.
- Built with Java using the Spring Boot framework.
- Utilizes MySQL database for data storage.
- Dockerfile included for easy containerization and deployment.
- Uses Maven for dependency management and build automation.
- Java 11 or above installed
- Maven installed
- Docker (optional, for containerization)
-
Clone the repository:
git clone https://github.com/<your-username>/sql-injection-app.git cd sql-injection-app -
Build the project:
mvn clean package -
Run the application:
java -jar target/we45-sql-injection-app.jar -
Access the application in your browser:
http://localhost:8080/
The application's configuration properties can be modified in the application.properties file. You can customize the database connection details, such as URL, username, and password.
spring.datasource.url=jdbc:mysql://db-host:3306/my-database
spring.datasource.username=db-user
spring.datasource.password=db-passwordYou can also run the application using Docker for easy containerization. Make sure Docker is installed and follow these steps:
-
Build the Docker image:
docker build -t sql-injection-app . -
Run the Docker container:
docker run -p 8080:8080 sql-injection-app
Contributions are welcome! If you find any issues or have improvements to suggest, please open an issue or submit a pull request.
This project is licensed under the MIT License. Feel free to use, modify, and distribute it.
This project is intended for educational and demonstration purposes only. Use at your own risk. we45 Solutions India Pvt Ltd and Malek Kamal are not liable for any misuse or damage caused by utilizing this application.