What do you think has occurred?

Posted by: Pdfprep Category: CEH-001 Tags: , ,

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 returned the first record it found
C . The server error has caused the application to malfunction
D . The web application emailed the administrator about the error

Answer: B

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.

Leave a Reply

Your email address will not be published.