Skip to content

A demonstration project for SQL Injection vulnerabilities and mitigation using Java EE MVC and JDBC Prepared Statements.

Notifications You must be signed in to change notification settings

ankitlehra/SQLInjectionDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SQL Injection Demo

This project demonstrates a simple web application with two versions: a vulnerable version and a secure version. The application includes a login functionality and is designed to illustrate the risks of SQL Injection and how to mitigate them.

Versions Included

1. Vulnerable Version

  • This version contains code that is prone to SQL Injection due to unsafe handling of user inputs.
  • Location: vulnerable-code/src

2. Secure Version

  • This version implements secure coding practices to prevent SQL Injection attacks.
  • Location: secure-version/src

Requirements

  • Java EE
  • Apache Tomcat Server
  • MySQL Database

About

A demonstration project for SQL Injection vulnerabilities and mitigation using Java EE MVC and JDBC Prepared Statements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages