=============================================
This project will create a simple web application to simulate SQL Injection attack. This attack pattern is one of the most famous Application level attacks. So we can reduce the risk or avoid this attack happening through optimizing our application code.
Used Eclipse and MySQL
Setting up 3 layers: UI, Logical, and DB
- Original page
- Test case 1 (without protection)
- Test case 2 (without protection)(password is the same to user name)
- Test case 3(without protection)
- Test case 5 (repeat 3 with protection)
- Test case 6 (repeat 2 with protection)
- Test case 7(repeat 4 with protection)
- Test case 8(Common user login)
- In others folder, the related MySQL code is located there.
- If anyone wants to try this project code, the API of MySQL DB should be modified by the file: WebContent/META-INF/context.xml.
- This project needs to run on the Web Server Tomcat.