Question: Suppose that you test an application for the SQL injection vulnerability. You know that the backend database is based on Microsoft SQL Server. Inthe login

Suppose that you test an application for the SQL injection vulnerability. You know that the backend database is based on Microsoft SQL Server. Inthe login/password form, you enter the following credentials:Based on the above credentials, which of the following SQL commands are you expecting to be executed by the server, if there is indeed an SQLinjection vulnerability?A. select * from Users where UserName =attack or 1=1-- and UserPassword =123456B. select * from Users where UserName =attack or 1=1-- and UserPassword =123456C. select * from Users where UserName =attack or 1=1-- and UserPassword =123456D. select * from Users where UserName =attack or 1=1-- and UserPassword =123456

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!