Bryan notices the error on the web page and asks Liza to enter liza’ or ‘1’=’1 in the email field. They are greeted with a message “Your login information has been mailed to [email protected]”. What do you think has occurred?
A.
The web application picked up a record at random
B.
The web application emailed the administrator about the error
C.
The server error has caused the application to malfunction
D.
The web application returned the first record it found
Explanation:
The web application sends a query to an SQL database and by giving it the criteria 1=1, which always will be true, it will return the first value it finds.